0

Using the search_results tags to display results I added a parameter like when displaying channel entries, status="Open" to specifically show only "Open" entries, but it still shows Closed entries.

Any guidance on this would be greatly appreciated.

1
  • Perhaps it would be useful to include a bigger snippet of your template-code.
    – BNetz
    Apr 20, 2014 at 20:17

3 Answers 3

1

I would try making the Open uncapped to status="open".

Maybe not the fix, but I have had weird issues around that.

1
  • Agreed, I've run into that as well. Mar 21, 2014 at 20:44
1

You need to ensure you are setting the status on the search form tag itself, rather than on the results tag.

0

You don't need to set status="Open" anywhere in your templates. ExpressionEngine already assumes you want "open" entries and will return "open" entries by default.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.