Opened 14 years ago

Closed 14 years ago

#3128 closed defect (fixed)

Clicking Upcoming Recordings link when displaying sorted list breaks record grouping

Reported by: knowledgejunkie@… Owned by: xris
Priority: minor Milestone: unknown
Component: mythweb Version: head
Severity: medium Keywords: upcoming recordings sorting grouping
Cc: Ticket locked: no


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 :) )

Please see ticket #3127 for issues regarding sorting by length.

With many different titles, this behaviour can almost double the page length of the listings.


Nick Morrott

Change History (1)

comment:1 Changed 14 years ago by xris

Resolution: fixed
Status: newclosed

(In [13014]) Fix the sort groupby column source so that the column dividers actually match the session info. closes #3128

Note: See TracTickets for help on using tickets.