Forums › Forums › Search & Filter Pro › Field relationship "OR" doesn't work anymore
- This topic has 15 replies, 2 voices, and was last updated 8 years, 7 months ago by Anonymous.
-
Anonymous(Private) March 23, 2016 at 9:11 am #40331
Hi ! When I load this page :
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: NoneAnonymous(Private) March 23, 2016 at 9:36 am #40333Thank 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(Private) March 23, 2016 at 11:05 am #40349So, 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.
Trevor(Private) March 23, 2016 at 11:38 am #40357OK. 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.
-
AuthorPosts