Important: findAll of contact and profile information orders by uid
Description
The
find methods of
Address,
Email,
Phone and
Profile executed without an ordering, so their
result came in whatever order the database yielded. On PostgreSQL that is not
necessarily the same list twice. They now order by
uid
ascending.
The tables are manually sortable, but their
sorting
is kept per contract,
or per profile and type, so it does not order records of different parents
meaningfully. The methods returning the records of one contract or profile
order by
sorting
, with
uid
breaking ties.
Impact
No visible change is expected: nothing in the extensions calls these methods,
and
uid
ascending is the order SQLite, MySQL and MariaDB return in
practice. PostgreSQL promises none. Code that calls them gets that order
guaranteed now rather than by coincidence.
Affected Installations
Installations with own code calling one of these
find methods.