1. Fabrik 3.9 has been released. If you have updated Joomla to 3.9, this is a required update.
    Dismiss Notice

Filter like Joomla?

Discussion in 'Community' started by mattsh, Dec 13, 2019.

  1. mattsh

    mattsh Member

    Level: Community

    I would like to have a filter on my list similar to the function of Joomla. In Joomla admin you see "all" articles except the trashed ones. But you can select trashed status and see them.

    How to achieve this?

    If I use Fabrik lists with prefilter I'm not able to do this, I just see data that's prefiltered.

  2. juuser

    juuser Active Member

    Level: Community

    One option is to use url querystring/filtering. You can use e.g "external url" istead of "Fabrik list" menu item and add something like:
    index.php?option=com_fabrik&view=list&listid=xx& . . . &mytable_myelement_raw=something

    This will apply the filtering string "something" to your list element called "myelement". And the user can remove the filter if needed.

    You can also use placeholders like {rowid} instead of "something" if you for example refer to the list from another lists link/calc element.
    mattsh and troester like this.
  3. troester

    troester Well-Known Member Staff Member

    Level: Community
    Meanwhile the Fabrik list menu has an option "Extra Query String" (at the bottom of the Fabrik list options tab) so you don't need the "external URL" anymore.
    mattsh and juuser like this.
  4. mattsh

    mattsh Member

    Level: Community

    Will test this!


Share This Page