mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-06 09:52:29 +02:00
There are no filter enabled if filter configuration is empty (no icon, no functions, ...)
New system for the filter page configuration View mode flat_recent_cat becomes flat_cat (recent period is removed because global filter is sufficient) Recent period of global filter must be defined "after" start parameter (default value is $user['recent_period']). git-svn-id: http://piwigo.org/svn/trunk@1722 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -264,9 +264,9 @@ function add_well_known_params_in_url($url, $params)
|
||||
}
|
||||
}
|
||||
|
||||
if (isset($params['flat_recent_cat']) and $params['flat_recent_cat'] > 0)
|
||||
if (isset($params['flat_cat']))
|
||||
{
|
||||
$url.= '/flat_recent_cat-'.$params['flat_recent_cat'];
|
||||
$url.= '/flat_cat';
|
||||
}
|
||||
|
||||
if (isset($params['start']) and $params['start'] > 0)
|
||||
|
||||
Reference in New Issue
Block a user