- Posts: 8
COMMUNITY FORUM
Limit of items in category view.
- luken
- Topic Author
- Offline
- New Member
I tried several settings using primaries and/or principals, but it always stop at 100 per page.
A pagination is displayed, but i need all items in one page.
Before the update, works fine.
Anybody have a similar problem?
Thank you
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
- Posts: 6220
Of course I can make it configurable.
How many items do you display per page?
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- luken
- Topic Author
- Offline
- New Member
- Posts: 8
Actually i made my custom alphabetic filter.
If i select the letter "G", only display maybe 10 items, but those items have the order nº : 110, 111, 112, 113, ....
But now, only are displayed the first 100 items, so letters A, B, C, D are ok.
But letters E, F,.. do not display nothing because those items are in the list over the number 100.
I can see that my code is not really efficient, but maybe you can give me some orientation to disable that 100 limit, to get my filter working until find a better way.
Thank you
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
- Posts: 6220
To remove the hardcoded limit, edit the file /components/com_k2/views/itemlist/view.html.php and comment out this line in that file: github.com/getk2/k2/blob/master/components/com_k2/views/itemlist/view.html.php#L533
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- luken
- Topic Author
- Offline
- New Member
- Posts: 8
Fotis wrote: To remove the hardcoded limit, edit the file /components/com_k2/views/itemlist/view.html.php and comment out this line in that file: github.com/getk2/k2/blob/master/components/com_k2/views/itemlist/view.html.php#L533
Thank you.
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
- Posts: 6220
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Yannick Lämmel
- Offline
- New Member
- Posts: 14
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
- Posts: 6220
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Electronic Beatz Network
- Offline
- New Member
- Posts: 17
Do you have news about the update? When will it happen?
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
- Posts: 6220
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.