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.

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

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

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

| improve this answer | |
  • Agreed, I've run into that as well. – Jean St-Amand Mar 21 '14 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.

| improve this answer | |
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.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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