MapList fixed
This commit is contained in:
parent
9b965a1720
commit
904f000481
@ -145,7 +145,7 @@ class MapList implements ManialinkPageAnswerListener, CallbackListener {
|
|||||||
$script = $maniaLink->getScript();
|
$script = $maniaLink->getScript();
|
||||||
$paging = new Paging();
|
$paging = new Paging();
|
||||||
$script->addFeature($paging);
|
$script->addFeature($paging);
|
||||||
/*if (is_int($pageCount))*/ $paging->setCustomMaxPageNumber($pageCount);
|
if (!is_null($pageCount)) $paging->setCustomMaxPageNumber($pageCount);
|
||||||
$paging->setChunkActionAppendsPageNumber(true);
|
$paging->setChunkActionAppendsPageNumber(true);
|
||||||
$paging->setChunkActions(self::ACTION_PAGING_CHUNKS);
|
$paging->setChunkActions(self::ACTION_PAGING_CHUNKS);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user