• Resolved Cartucho

    (@wolfaustral)


    Hello! First of all thanks for the plugin, it’s very good.

    I found an incompatibility between this options:
    gallery_orderby=”rand”
    gallery_per_page=”xx”

    If you create a random gallery and enable pagination, every time you select a page you will see new random videos. Even if it is a page that you have previously seen, such as page 1, new random videos are served.

    Example: you have six videos (A, B, C, D, E, F) on two pages. The first page randomly shows A, E and F. Then the second page should show B, C and D … but do not. You can find any video in the second page, and if you go back to the first page you will find a new combination.

    I do not know how hard it is to fix it, but it’s not a critical error for me (I’ll use the order by date for now). I just wanted to report it.

    Regards!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Kyle Gilman

    (@kylegilman)

    The plugin does a random query of available videos every time you switch pages in the gallery. I guess there’s no case to be made for doing that. What you really want is for the gallery order to be randomized on web page load and to remain static until the page is reloaded. I created an issue on GitHub so you can track my progress on this.

    Plugin Author Kyle Gilman

    (@kylegilman)

    The 4.6.25 update released today should fix random gallery order with pagination.

    Thread Starter Cartucho

    (@wolfaustral)

    Great, I recently updated the plugin and now is working correctly.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Random gallery pagination bug’ is closed to new replies.