Browse Source

Fixed sorting by takedate (#152)

Tobias Reich 10 years ago
parent
commit
fc97167e1b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      php/modules/Settings.php

+ 1 - 1
php/modules/Settings.php

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