Support » Plugin: Gmedia Photo Gallery » Queries stopped filtering correctly

  • Resolved benhammer

    (@benhammer)


    the queries were previously working, but have now stopped filtering correctly.
    I have 3 Gmedia Galleries to show filtered category results. Using the query builder returned a query arguments such as:
    category__in=1&album__in=20
    category__in=2&album__in=20
    category__in=3&album__in=20

    All of these will now show EVERY picture in EVERY album. If I remove the “album__in” argument, the page will display all pictures in the correct category, but include ALL albums.

    I do have another page that uses
    album__in=20
    this page correctly shows all photos in all categories from only that album.

    The problem seems to be in using the combination of “album” and “category” arguments.

    In the above mentioned website, the pages are /archives, /landscapes, /seascapes and /other

    Any help is appreciated.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Rattus

    (@pasyuk)

    In Query Builder you also need set Terms Relation to AND so the query will be like:
    category__in=1&album__in=20&terms_relation=AND

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.