Skip to content

Commit

Permalink
Ensure moduleID is a cache modifier/differentiator in itemlist views
Browse files Browse the repository at this point in the history
  • Loading branch information
fevangelou committed Oct 16, 2024
1 parent f4f714d commit 9e6396c
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions components/com_k2/controllers/itemlist.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,22 +29,23 @@ public function display($cachable = false, $urlparams = array())
$cache = false;
}
if (K2_JVERSION != '15') {
$urlparams['amp'] = 'INT';
$urlparams['day'] = 'INT';
$urlparams['id'] = 'INT';
$urlparams['Itemid'] = 'INT';
$urlparams['lang'] = 'CMD';
$urlparams['limit'] = 'UINT';
$urlparams['limitstart'] = 'UINT';
$urlparams['id'] = 'INT';
$urlparams['tag'] = 'STRING';
$urlparams['searchword'] = 'STRING';
$urlparams['day'] = 'INT';
$urlparams['year'] = 'INT';
$urlparams['m'] = 'INT';
$urlparams['moduleID'] = 'INT';
$urlparams['month'] = 'INT';
$urlparams['print'] = 'INT';
$urlparams['lang'] = 'CMD';
$urlparams['Itemid'] = 'INT';
$urlparams['ordering'] = 'CMD';
$urlparams['m'] = 'INT';
$urlparams['amp'] = 'INT';
$urlparams['tmpl'] = 'CMD';
$urlparams['print'] = 'INT';
$urlparams['searchword'] = 'STRING';
$urlparams['tag'] = 'STRING';
$urlparams['template'] = 'CMD';
$urlparams['tmpl'] = 'CMD';
$urlparams['year'] = 'INT';
}
parent::display($cache, $urlparams);
}
Expand Down

0 comments on commit 9e6396c

Please sign in to comment.