Field relationship "OR" doesn't work anymore

Forums › Forums › Search & Filter Pro › Field relationship "OR" doesn't work anymore

Viewing 10 posts – 1 through 10 (of 16 total)
  • Anonymous
    #40331

    Hi ! When I load this page :

    http://faisnousrever.com/observatoire/?_sft_ressource_theme=sport-et-insertion-professionnelle+sport-et-mixite-dans-lespace-public

    There’s no results but 2 custom posts should be there, the problem is that it was working fine yesterday and when I tested it today it wasn’t working anymore. I don’t know where could be the issue.

    Auto submit form? Yes
    Maintain Search Form State No
    Field relationships: OR
    Enable Auto Count: No
    Detect defaults from current page: None
    Custom template and slug
    No Ajax (the theme doesn’t like it)
    Post status: Published
    Tags, Categories & Taxonomies: All blank
    Post Meta: None
    Advanced: None

    Trevor
    #40332

    Hi

    With no search terms, the page is empty also, yes?

    Which Display Results method you you have (Archive, Shortcode …)?

    If this is a purpose made page for results, does the theme need to know it is for a specific Custom Post Type?

    Anonymous
    #40333

    Thank you for your answer. With no search terms, all the docs are displaying correctly. It’s acting like it’s an AND, not an OR. That’s weird.

    I have Archive as Display results method.

    I haven’t created a page, I’ve just changed the default slug of the plugin. I’ve just created a custom search template to customize the sidebar with the widget.

    Is there a way to manually check in files what the Field relationship method is ?

    Trevor
    #40338

    Hi Jean-Philippe

    Is it possible for me to take a look in the admin of the site? Reply to this message, but at the bottom make the reply private, with the login url, user and password?

    Anonymous
    #40341
    This reply has been marked as private.
    Trevor
    #40349

    So, the content only shows for a logged in user? That must be something you have set to make content private, I think. But, now I am logged in, I can see the content 😉

    Although the search form is locked (as you have it open in edit mode) I can still see it is set to OR.

    I will consult with Ross and be right back.

    Anonymous
    #40355

    Ok I’ve closed it, the posts are public, I don’t know why they doesn’t show for non logged-in visitors 🙁

    Trevor
    #40357

    OK. Go to the Search Form UI. The second item is Taxonomy: Thèmes de ressource (ressource_theme)

    Open this. Look at the setting for Search Operator. It is set to AND. It should be OR.

    The general settings Field relationships: AND/OR is for between fields, not within fields.

    As to the private content issue, I have no suggestions. This is not from the S&F plugin I think.

    Anonymous
    #40363

    Oh ok, that’s logic 😀 Thank you very much for your help !

    Trevor
    #40387

    Is it OK to close this thread?

Viewing 10 posts – 1 through 10 (of 16 total)

Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.