Commit da578ba5 authored by sylvieg's avatar sylvieg

[FIX]articles: if too many categories, pagination links become too long...

[FIX]articles: if too many categories, pagination links become too long because of the cat_managed. set un auto_query_args to avoid
parent 4bbdd1af
......@@ -10,6 +10,7 @@ include_once ('lib/articles/artlib.php');
$smarty->assign('headtitle', tra('List Articles'));
$access->check_feature('feature_articles');
$access->check_permission('tiki_p_read_article');
$auto_query_args = array('sort_mode', 'category', 'offset', 'maxRecords', 'find', 'find_from_Month', 'find_from_Day', 'find_from_Year', 'find_to_Month', 'find_to_Day', 'find_to_Year', 'type', 'topic', 'cat_categories', 'categId', 'lang', 'mode', 'mapview', 'searchmap', 'searchlist');
if ($prefs["gmap_article_list"] == 'y') {
$smarty->assign('gmapbuttons', true);
} else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment