Add StartDateTime and EndDateTime as Sort options. Fixes #2614

This commit is contained in:
Isaac Connor 2019-05-24 10:02:15 -04:00
parent c02eb2cd46
commit db9ba7eeab
1 changed files with 6 additions and 0 deletions

View File

@ -1050,9 +1050,15 @@ function parseSort( $saveToSession=false, $querySep='&' ) {
case 'StartTime' : case 'StartTime' :
$sortColumn = 'E.StartTime'; $sortColumn = 'E.StartTime';
break; break;
case 'StartDateTime' :
$sortColumn = 'E.StartTime';
break;
case 'EndTime' : case 'EndTime' :
$sortColumn = 'E.EndTime'; $sortColumn = 'E.EndTime';
break; break;
case 'EndDateTime' :
$sortColumn = 'E.EndTime';
break;
case 'Length' : case 'Length' :
$sortColumn = 'E.Length'; $sortColumn = 'E.Length';
break; break;