Description

If I sort the Upcoming Recordings by ascending title by clicking on the column header (/mythweb/tv/upcoming?sortby=title) the upcoming recording records are correctly sorted alphabetically and grouped by title in the resulting listing. Each group only contains records with matching titles, those with multiple matches are further sorted in ascending date order.

If, when displaing this title-sorted list of records, I click on the general Upcoming Recording link (/mythweb/tv/upcoming) the records now displayed are still listed in their previously selected sort order, but each record now has its own group header showing the date of the recording. A special case occurs when records which have titles that are consecutive alphabetically occur on the same date. In this instance, the records are grouped alphabetically under a single date group header.

Clicking on the column sort link corrects the grouping behaviour but obviously inverts the sorting.

Sorting by channel results in similar behaviour. After clicking the general Upcoming Recordings link on a sorted-by-channel listed, records are again listed with individal date group headings but in overall channel order, except for those records which have channel numbers which are consecutive and occur on the same day. Again, here they are grouped together under a single date group-header. Other records for the same day but with non-consecutive (when sorted) channums are listed separately in the listing w.r.t. their channum.

Sorting by airdate does not seem to break the grouping behaviour of the Upcoming Recordings listing (the date field seems to be implicated in the above behaviour if I were a betting man :) )