7

In a view I have some exposed filters.I would like the view to show no results before applying the exposed filter(s),but only after I have applied the exposed filter.By default,the view shows all the results.How can I achieve that? Thanks

4

you could link to the view and pass a filter argument in the URL that doesn't have any results.

Or you could hide the exposed filters in a block. Also, create a "block" display for your view results.

Add the filter block to a page. Add the "results" block to the page but only show it for pages with "pagename?*". That will hide your results block until filter values are passed through the URL.

| 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.