• 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.

Sytax of pre-filter

karlis

Member
Is my syntax correct for a pre-filter query:
SELECT * FROM vdc_amati
WHERE indekss BETWEEN 120 AND 190;
Have checked and doublechecked the variables. Table is correct, column is correct, but does it need to be vdc_amati.indekss?
 
Are you trying to do an "IN" filter, like ...

Field: something
Condition: IN
Value: SELECT * FROM vdc_amati [... etc ...]
Type: Query

If so, then you need to select a single field, not *. Specifically, the field that you want to match "something" against.

Field: something
Condition: IN
Value: SELECT something FROM vdc_amati [... etc ...]
Type: Query

If you are matching against a join element, you would usually choose the "something (raw)" field option, which says to use the FK (the value), not the label of the field.

-- hugh
 
No I'm trying to find a range of numbers from (indekss) that are stored in (vdc_amati). Its not an join field. That's why I thought I want to use a BETWEEN x AND y. I tried grouping a greater than and less than, but the greater than and less than went on to include other operators in the prefilters.
 
Not sure what you mean by "including other operators". If you append & fabrikdebug=1 to the url, and look at the getData query, what does the WHERE clause look like?

Sent from my HTC6545LVW using Tapatalk
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top