In admin cp, I am using filter_macros -> quick_filter to filter a datalist. In the datalist, I want to generate a hyperlink that the user can click-on that immediately filters the datalist down to that one item.
Currently, I am generating a link like this:
Is there a way I can update the existing filter control via link instead or specify a parameter to ensure the previous filter is cleared?
Currently, I am generating a link like this:
link('myaddon/mytable', [], {'_xfFilter[text]': $moo.cow})
, however when I click on this, the page reloads to this link, but if there was an existing filter previously applied, the quick_filter textbox is prepopulated with the last search and covers up the explicit filter I was looking for.Is there a way I can update the existing filter control via link instead or specify a parameter to ensure the previous filter is cleared?