Problem with the prefilter

sasha199

Member
Hello everyone, there is such a problem, I install the prefilter, everything works, but when I filter the data through the form, then the prefilter does not cancel its action and continues to work as well, how to solve the problem?
Switch overriden by menu/modules translated into both positions, does not help
 
Pre-filter is meant to "stick" so you could hide some data from specific users etc. If you need a "temporary" filter, use url filtering:
http://fabrikar.com/forums/index.php?wiki/filtering-lists-tables/#filtering-via-the-url
thank you for the answer, but this does not suit me, I have filtering by creation date, I filtered the data created in the current month, and I wanted that after filtering through the form, the prefilter stopped working, turned off, and when the form was updated, it started working again
 
Could you explain your workflow in more detail like:
1) User opens list with pre-filter applied to only show current month records;
2) Next...
 
The user opens the list, the filter form is on top, by default it has all values equal to 0, the positions themselves are below, I would like that when the user opens the list, there are positions created in the current month in front of him, and after he himself applied the filter from the form, it would show the positions for all the time
a2474ba7e576.jpg
 
As @juuser says
Pre-filter is meant to "stick" so you could hide some data from specific users etc. If you need a "temporary" filter, use url filtering:
http://fabrikar.com/forums/index.php?wiki/filtering-lists-tables/#filtering-via-the-url
The sense of a list prefilter is that it can't be overridden by any user action.

For simple URL filters (like mytable___foo=abc) you can use the "Fabrik list" menu's "Fabrik list options/Extra Query String"
For complex ones using values and conditions (as needed for date filtering) you need to put the complete URL into a "System Links/URL" menu item.

Those "preset" URL filters can be cleared and overridden by the user.
 
As @juuser says The sense of a list prefilter is that it can't be overridden by any user action.

For simple URL filters (like mytable___foo=abc) you can use the "Fabrik list" menu's "Fabrik list options/Extra Query String"
For complex ones using values and conditions (as needed for date filtering) you need to put the complete URL into a "System Links/URL" menu item.

Those "preset" URL filters can be cleared and overridden by the user.
Thank you very much for the answer, I will try to filter by url
 
As @juuser says The sense of a list prefilter is that it can't be overridden by any user action.

For simple URL filters (like mytable___foo=abc) you can use the "Fabrik list" menu's "Fabrik list options/Extra Query String"
For complex ones using values and conditions (as needed for date filtering) you need to put the complete URL into a "System Links/URL" menu item.

Those "preset" URL filters can be cleared and overridden by the user.
Please tell me how to pass the end of the current month in the URL?
Code:
http://localhost/index.php?option=com_fabrik&view=list&listid=8&Itemid=121&&sbrh2_tabel_pers___createdate[value][]=-1%20month&sbrh2_tabel_pers___createdate[value][]=now&sbrh2_tabel_pers___createdate[condition]=BETWEEN
 
Last edited:
Just
sbrh2_tabel_pers___createdate[condition]=thismonth
(without any ...[value])
should do (I didn't know it myself).
I added it to the WIKI
 
Last edited:
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top