TQL and views filter everything!

storbaek - June 12, 2007 - 07:45
Project:Taxonomy Query Language
Version:5.x-1.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

I cannot get TQL to work for me properly. I have a view with many nodes, but if I add the view as a filter, it will filter all nodes by default without anything entered. The result is that all nodes are filtered and nothing displayed. How can I have the TQL filter view skip the filtering unless something is entered in the filter field?

#1

roychri - April 7, 2008 - 15:34
Title:TWL and views filter everything!» TQL and views filter everything!

Do not specify anything in the value for your filter. Leave the value blank on the "Edit view" form. When this is an exposed filter, you users will enter values themself when the view is displayed.
That way, when nothing is entered, it will show all the nodes. The filter will kick in only when something is entered in the exposed filter.

 
 

Drupal is a registered trademark of Dries Buytaert.