thinking out loud…

…ramblings of Peter Amiri


All of the posts under the "sort" tag.

Roster sorting bug fixed…

There was a bug that was causing the generated roster files to not be sorted in the proper order. In fact the records were being returned from the database in random order. The resulting pdf files looked pretty :-) but were not in phone directory order. This bug has now been fixed. The roster files now have two sort levels applied. Initially all Head of Household (HoH) records are selected from the database and sorted in Last Name order. Then for each HoH record, all family records are selected and ordered in descending age order.

get_footer() ?>