mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 09:13:02 +02:00
Feature 1255 :
sql functions for calendar (interval, year, month, ...) git-svn-id: http://piwigo.org/svn/trunk@4398 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -258,7 +258,8 @@ WHERE id IN (' . implode(',',$page['items']) .')';
|
||||
|
||||
if ($must_show_list)
|
||||
{
|
||||
$query = 'SELECT id';
|
||||
$query = 'SELECT DISTINCT id '.get_extra_fields($conf['order_by']);
|
||||
$query .= ','.$calendar->date_field;
|
||||
$query .= $calendar->inner_sql.'
|
||||
'.$calendar->get_date_where();
|
||||
if ( isset($page['super_order_by']) )
|
||||
|
||||
Reference in New Issue
Block a user