• Resolved averixus

    (@averixus)


    I have a set of filters for a custom post type list. Each of the filters works fine when one term is selected, and they also combine fine if one term is selected from each. But when I select multiple terms from a single filter, the page 404s. All the filters are set to OR, so selecting multiple terms should add more results – and anyway it doesn’t give an empty list but an actual 404 page.

    What’s going wrong here?

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter averixus

    (@averixus)

    If I disable Filter Everything and manually enter the query URL with comma-separated values (e.g. https://tradescantia.uk/checklist/?availability=locally-produced,mass-produced), it works as intended.

    But with Filter Everything enabled, the same URL gives a 404. Actually using the filter widget to create the same query generates the URL with semicolon-separated values instead, but still 404s.

    Thread Starter averixus

    (@averixus)

    Hi @stepasyuk, do you have any ideas about this?

    Plugin Author stepasyuk

    (@stepasyuk)

    Hi @averixus

    Sorry for the late response. It looks like you used the same word for your URL var name as for original taxonomy for this filter. In general I have to forbid this in the plugin code or even show notice that it is not allowed, but in some cases it works normally so I stil didn’t do that. In your case it does not work so try please to change filter URL Var Names in Filters -> Settings -> URL Var Names and this should fix the problem.

    Thread Starter averixus

    (@averixus)

    Thanks for the response, that’s done the trick. It would be good information to have up front when making new filter sets ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘“OR” filter gives a 404 when selecting multiple options’ is closed to new replies.