Ticket #1419: sorting-fix.patch

File sorting-fix.patch, 544 bytes (added by paulx@…, 13 years ago)

Fixes patch so default sort fields are used. Eg. 'Upcoming recordings' are today to future but 'recorded programs' are today to past.

  • mythweb/includes/sorting.php

    old new  
    109109        elseif ($_GET['reverse']) {
    110110            $_SESSION[$session][0]['reverse'] = $_SESSION[$session][0]['reverse'] ? false : true;
    111111        }
    112         else {
    113           $_SESSION[$session][0]['reverse'] = false;
    114         }
    115112    // Once we've processed the information, we should make sure that we're actually sorting an array
    116113        if (!count($programs)) {
    117114            return;