Fixed sorting by takedate (#152)

This commit is contained in:
Tobias Reich 2014-05-06 14:30:18 +02:00
parent 3cd37cba2d
commit fc97167e1b

View File

@ -138,7 +138,7 @@ class Settings extends Module {
case 'star': $sorting .= 'star';
break;
case 'take': $sorting .= 'UNIX_TIMESTAMP(STR_TO_DATE(CONCAT(takedate,"-",taketime),"%d.%m.%Y-%H:%i:%S"))';
case 'take': $sorting .= 'takestamp';
break;
default: exit('Error: Unknown type for sorting!');