0000662: Recent elements don't use sometimes time and not truncated datetime
& Standardize system date used git-svn-id: http://piwigo.org/svn/trunk@1876 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
885393221f
commit
1415354b9c
4 changed files with 14 additions and 6 deletions
|
|
@ -95,7 +95,7 @@ WHERE ';
|
|||
category_id IN ('.$filter['visible_categories'].') and';
|
||||
}
|
||||
$query.= '
|
||||
date_available > SUBDATE(
|
||||
date_available >= SUBDATE(
|
||||
CURRENT_DATE,INTERVAL '.$filter['recent_period'].' DAY)';
|
||||
|
||||
$filter['visible_images'] = implode(',', array_from_query($query, 'image_id'));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue