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)