Changeset 27266 for extensions/SmartAlbums/include/functions.inc.php
- Timestamp:
- Feb 8, 2014, 12:11:14 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/SmartAlbums/include/functions.inc.php
r26442 r27266 438 438 { 439 439 $limit = '0, '.$filter['value']; 440 if (!empty($filter['cond'])) $order_by = $filter['cond']; 440 441 break; 441 442 } … … 469 470 $MainQuery.= ' 470 471 GROUP BY i.id 471 '. $conf['order_by'].'472 '.(isset($order_by) ? "ORDER BY ".$order_by : $conf['order_by']).' 472 473 '.(isset($limit) ? "LIMIT ".$limit : null).' 473 474 ;'; … … 622 623 else 623 624 { 624 $filter['cond'] = 'limit';625 625 $limit_is_set = true; 626 626 }
Note: See TracChangeset
for help on using the changeset viewer.