SEBLOD icon indicating copy to clipboard operation
SEBLOD copied to clipboard

Inifinity load more - Click & final order : Shufffle - issue

Open ctseo opened this issue 7 years ago • 8 comments

Hello,

If you set Pagination: 200, Final order: Shuffle and Show Pagination: Infinity - Click you will miss some items from seblod, only Show Pagination: Standard work !

Any solution ?

ctseo avatar Jan 17 '18 11:01 ctseo

So this is in the module?

klas avatar Jan 17 '18 12:01 klas

Nope. On menu item search list.

ctseo avatar Jan 17 '18 13:01 ctseo

Have you tried if it works correctly without shuffle (with normal oder) ?

klas avatar Jan 17 '18 13:01 klas

I tried now. It's missing whatever you set on Final Order. So is not the final order problem... i think is on Pagination limit ...

Edit: If i set on Search List - Pagination to 200 and from menu item leave default - it doubles my entries but missing some entries.

ctseo avatar Jan 17 '18 13:01 ctseo

If i set from Search List - Configuration - Pagination to all and from Menu item Pagination to 200, it doubles my entries.

ctseo avatar Jan 17 '18 13:01 ctseo

I tested this and Load more pagination set from menu basically doesn't work for me - Load more button doesn't show properly (text is empty) and if I click on the button pagination setting from menu is not used, it uses pagination set in search type:

E.g. if I set pagination to 5 in menu and 9 in search type, I get in first step LIMIT 5 and after click in second step LIMIT 5,9 (instead of correct LIMIT 5,10 ), third is LIMIT 10, 9 etc - first number increases as it should while second is hardcoded to search type setting.

This would indeed lead to skipped items (in my example items 10 and 20 are never shown),

klas avatar Jan 17 '18 19:01 klas

Also (always, not limited to menu override) pagination always shows page 1 of 6 for me.

klas avatar Jan 17 '18 19:01 klas

I have a list inside form view and when I use infinite load the search parameters are lost on the load more click.

coolcat-creations avatar Jan 26 '19 09:01 coolcat-creations