• Hello Fabrik Community

    Fabrik is now in the hands of the development team that brought you Fabrik for Joomla 4. We have recently transitioned the Fabrik site over to a new server and are busy trying to clean it up. We have upgraded the site to Joomla 4 and are running the latest version of Fabrik 4. We have also upgraded the Xenforo forum software to the latest version. Many of the widgets you might have been used to on the forum are no longer operational, many abandoned by the developers. We hope to bring back some of the important ones as we have time.

    Exciting times to be sure.

    The Fabrik 4.0 Official release is now available. In addition, the Fabrik codebase is now available in a public repository. See the notices about these in the announcements section

    We wish to shout out a very big Thank You to all of you who have made donations. They have really helped. But we can always use more...wink..wink..

    Also a big Thank You to those of you who have been assisting others in the forum. This takes a very big burden off of us as we work on bugs, the website and the future of Fabrik.

List filtering methods: combination is inconsistent

troester

Well-Known Member
Staff member
A bit related to http://fabrikar.com/forums/index.php?threads/url-filtering-question.45333/unread

In a list you can have
element filters
+
advanced filter
+
search all

if you are using these filters the created queries are not consistent
e.g.
a list with personal date:
name*, company*, sprache (radio button), email1*, email2*, notes
*elements included in search-all

...
some time later:
I tried to create query examples for different combinations of filters
and found that it's randomly
sometimes the same combination of search-all and an element filter (in all cases the identical element) are ANDed (as I would expect), some times they are ORed

It's not related to the element type (this was my first thought)
At the moment I don't know how to replicate; it seems at some point the OR condition was cached

:confused::confused:
 
Ok, one replicatable issue
list not ajaxfied, menu setting: reset filters=no

1. "Clear Filter"
put something in search-all (aaa) AND in element filter (test), "GO"

Query:
WHERE (
( LOWER(`person`.`name`) regexp LOWER('aaa') OR LOWER(`person`.`company`) regexp LOWER('aaa') OR LOWER(`person`.`email1`) regexp LOWER('aaa') OR LOWER(`person`.`email2`) regexp LOWER('aaa') )
AND
`person`.`notes` LIKE '%test%'
)

2. "Clear Filter"
put something in search-all, "GO",
then additionally in element filter, "GO"

Query:
WHERE (
( LOWER(`person`.`name`) regexp LOWER('aaa') OR LOWER(`person`.`company`) regexp LOWER('aaa') OR LOWER(`person`.`email1`) regexp LOWER('aaa') OR LOWER(`person`.`email2`) regexp LOWER('aaa')
OR `person`.`notes` LIKE '%test%' )
)

3. "Clear Filter"
put something in element filter, "GO",
then additionally in search-all, "GO"

Query:
WHERE (
( LOWER(`person`.`name`) regexp LOWER('aaa') OR LOWER(`person`.`company`) regexp LOWER('aaa') OR LOWER(`person`.`email1`) regexp LOWER('aaa') OR LOWER(`person`.`email2`) regexp LOWER('aaa') )
AND
`person`.`notes` LIKE '%test%'
)


It doesn't make sense, the text in the filters is identical, result is totally different
 
Last edited:
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top