--- /var/www/html/mythweb/recorded_programs.orig 2004-05-11 02:18:22.000000000 -0400
+++ /var/www/html/mythweb/recorded_programs.php 2004-06-07 22:14:19.000000000 -0400
@@ -25,7 +25,16 @@
break;
}
// Redirect back to the page again, but without the query string, so reloads are cleaner
- header('Location: recorded_programs.php');
+ if ($_GET['sortby']) {
+ $headertext = '?sortby='.$_GET['sortby'];
+ if ($_GET['title']) { $headertext .= '&title='.$_GET['title'];}
+ } elseif ($_GET['title']) {
+ $headertext = '?title='.$_GET['title'];
+ } else {
+ $headertext = '';
+ }
+ #header('Location: recorded_programs.php?sortby='.$_GET['sortby'].'&title='.$_GET['title']);
+ header('Location: recorded_programs.php'.$headertext);
exit;
}