Skip to main content

Change the default number of items in pagination section

9 years 2 weeks ago #282202 by PeterChain
-- HikaShop version -- : 3.2.1
-- HikaMarket version -- : 1.7.3
-- Joomla version -- : 3.8

How can I change the default 20 items in the pagination dropdown list to 100 (not all, hundred)

I couldn't find a setting in the configuration. Guess there is no one. I tried chanigng in HikaShop's Display->Module->number of items but there is no connected effect with hikamarket.

I'm not afraid to change this on code, but would appreciate a "formal safe" way to do it.

What file and section shall I change?

Thank you.

Please Log in or Create an account to join the conversation.

9 years 2 weeks ago #282205 by Jerome
Hello,

Where ?
Which dropdown are you talking about ?
What page(s) ?

Please be a lot more precise.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Please Log in or Create an account to join the conversation.

9 years 2 weeks ago #282233 by PeterChain
Yes.

Hikamarket.

The product list where you have access to products to edit them. In hikamarket.

there is a pagination block with page numbers, arrow buttons and a dropdown with "20" items per page selected by default.

"Vendor product listing" menu.

Please Log in or Create an account to join the conversation.

9 years 2 weeks ago #282257 by Jerome
Hello,

HikaMarket is working exactly as HikaShop and as other Joomla extension.
That "20" limit is a common value. And it bases that on the Joomla core :
Code:
$pageInfo->limit->value = $app->getUserStateFromRequest($this->paramBase.'.list_limit', 'limit', $app->getCfg('list_limit'), 'int');
Important information:
Code:
$app->getCfg('list_limit')
It's also known as the "Default List Limit" setting in the Joomla global configuration.

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Please Log in or Create an account to join the conversation.

Moderators: Obsidev
Time to create page: 0.048 seconds
Powered by Kunena Forum