reseting table filters

Status
Not open for further replies.

DannyS2

New Member
Joomla 1.0.12
Fabrk 1.0.4b
PHP 4.4.4

It seems that the previous filter settings are held on subsequent visits to the table. Is there a way of clearing the filter settings when the table is called again.

Thanks
Danny
 
I'd like to keep the filter settings unless the user clicks on my menu item. If they click on the menuitem I'd like to reset the table from scratch, showing all records in an unfiltered manner. Can we add something to the menuitem URL that does this?

So if you had a table view like this:
http://www.yoururl.com/index.php?option=com_fabrik&Itemid=100

Can you append something to the end of the URL that resets the table view to "show all?"

I like the javascript that keeps the filtertable settings. That works nicely but I'd like the menuitem to reset completely.

Oh, and Danny if you delete the javascript at the end of your viewonly or form template I think your filtertable search elements will reset each time. I modified mine and eliminated the javascript and things seem to reset every time I do a search.
 
I think if you add

&clearState=1

to your url this will remove all filters on the table.
I've also added a parameter into the menu item called "Clear all filters" which does the same thing as of SVN rev 173

-Rob
 
Status
Not open for further replies.
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top