[mythtv-commits] Ticket #3128: Clicking Upcoming Recordings link when displaying sorted list breaks record grouping

MythTV mythtv at cvs.mythtv.org
Fri Feb 23 05:11:05 UTC 2007


#3128: Clicking Upcoming Recordings link when displaying sorted list breaks record
grouping
---------------------------------------+------------------------------------
 Reporter:  knowledgejunkie at gmail.com  |       Owner:  xris   
     Type:  defect                     |      Status:  new    
 Priority:  minor                      |   Milestone:  unknown
Component:  mythweb                    |     Version:  head   
 Severity:  medium                     |  
---------------------------------------+------------------------------------
 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.


 Cheers,

 Nick Morrott

-- 
Ticket URL: <http://cvs.mythtv.org/trac/ticket/3128>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list