Support » Plugin: Gmedia Photo Gallery » Sort albums in galleries by date

  • Resolved yiako

    (@yiako)


    Hi,

    I want to sort by date my albums in a gallery, but it continues sorting it by ID. Is a plugin problem or am i doin something wrong?

    I have this query builded:

    “album__in=15,16,17,18,11,19,10,20,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,74,73,75,81,79,80,84,76,78,77,72,71,6,83,85,82&mime_type=image&order=ASC&orderby=date”

    Any ideas?

    • This topic was modified 2 years, 5 months ago by yiako.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Rattus

    (@pasyuk)

    orderby=date parameter sorting only images.

    I’ll think about adding album orderby option to the Query Builder. Thanks

    Ah that explains why my query is not working as I wanted it to “album__in=0&orderby=date”

    I would love to see that option also – We are a few that would be adding albums to our gallery, and it would be nice if we dont have to add the albums “in the right order” as members might dig up old photos.

    Just checking in regarding this option. Maybe you can also tell just how excatly the sorting is done in “albumsListMasonry” Gallery?

    As it seems now it might be done by Title?

    I tried to setup albums in our Gallery so they would be named “YYYY-MM-DD title”, but it then show the oldest first, and the newest last.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Sort albums in galleries by date’ is closed to new replies.