[mythtv-commits] Ticket #3929: Ensure current channel is selected in Channel Detail

MythTV mythtv at cvs.mythtv.org
Mon Sep 3 23:02:07 UTC 2007


#3929: Ensure current channel is selected in Channel Detail
----------------------------------------------+-----------------------------
 Reporter:  sphery <mtdean at thirdcontact.com>  |       Owner:  xris   
     Type:  defect                            |      Status:  new    
 Priority:  minor                             |   Milestone:  unknown
Component:  mythweb                           |     Version:  head   
 Severity:  medium                            |     Mlocked:  0      
----------------------------------------------+-----------------------------
 The attached patch, mythweb-channel_detail_selected_channel.patch, fixes
 the Channel Detail page in MythWeb such that the channel whose listings
 are being viewed is selected by default.  The channel_select() function
 already had code to ensure the channel whose ID was specified in the
 chanid parameter was selected; however, for the Channel Detail page, the
 chanid is specified in the URI, rather than as a request parameter.

 I do not know whether any page still uses the chanid parameter to specify
 the selected channel, but it looks like schedules_custom.php and
 schedules_manual.php are each using their own channel_select() function
 that accepts $chanid as an argument.  The Channel Details page,
 channel.php, uses a channel_select() function that accepts $params
 (additional <select> tag attributes, such as onsubmit), and this patch
 simply adds another argument, $chanid.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/3929>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list