contao-bootstrap / grid

Bootstrap 4 Contao Grid Component
https://contao-bootstrap.de/komponenten/grid.html
GNU Lesser General Public License v3.0
4 stars 12 forks source link

Bootstrap gallery creates no pagiantion #42

Closed Kahmoon closed 4 years ago

Kahmoon commented 4 years ago

Default template has no output for pagination

Contao 4.9.2 Bootstrap für Contao Core 2.0.3

Edit: Output also does not stop at maximum images per page.

See https://community.contao.org/de/showthread.php?77852-Bootstrap-Galerie-erzeugt-keine-Paginierung&p=524420

VG Frank

Kahmoon commented 4 years ago

Is there a hotfix or workaround meanwhile to 2.2.4?

dmolineus commented 4 years ago

I cannot confirm this issue. It works in my test case. Do you use the random sorting? Then the pagination is disabled, as it also is in Contao.

Kahmoon commented 4 years ago

Oh!! Yes, its random sorting but i don t see a reason why pagination should be disabled because of this setting?!

dmolineus commented 4 years ago

If you use a random sorting you can't garantee that you see images multiple times. The random order isn't cached but created on each request.