[mythtv] Patch: Mythweb recording schedules, tweak groupings
Ed Wildgoose
lists at wildgooses.com
Thu Apr 8 17:36:36 EDT 2004
This is a small patch to adjust the grouping columns in the Scheduled
recordings page. I find it looks odd that the grouping applies to
programs as well (since there is rarely more than one entry for a given
program), and so this patch removes the grouping when sorting by Title
Ed W
-------------- next part --------------
Index: recording_schedules.php
===================================================================
RCS file: /var/lib/mythcvs/mythweb/themes/Default/recording_schedules.php,v
retrieving revision 1.8
diff -u -r1.8 recording_schedules.php
--- recording_schedules.php 7 Mar 2004 09:59:03 -0000 1.8
+++ recording_schedules.php 8 Apr 2004 21:34:21 -0000
@@ -44,8 +44,8 @@
<?php
$group_field = $_GET['sortby'];
-if ($group_field == "")
- $group_field = "title";
+if ($group_field == "title")
+ $group_field = "";
elseif ( ! (($group_field == "title") || ($group_field == "channum") || ($group_field == "type") || ($group_field == "profile")) )
$group_field = "";
@@ -159,8 +159,6 @@
$cur_group = $show->texttype;
elseif ($group_field == 'channum')
$cur_group = $show->channel->name;
- elseif ($group_field == 'title')
- $cur_group = $show->title;
elseif ($group_field == 'profile')
$cur_group = $show->profile;
More information about the mythtv-dev
mailing list