• New Commercial Services Section

    We have now opened a commercial services section here on the forum. If you have a Fabrik project that you wish to have someone work on for you, post it under Help Wanted. If you are an application developer and wish to earn some money helping others, post your details under Fabrik Application Developers.

    Both of these are unmoderated. It will be up to both parties to work out the details and come to an agreement.

DB Join checkbox - repeat group - where

Maud67

New Member
Hi,

I'm struggling with the following:

I have a list with repeat group.
I have an other list with db join element - checkboxes - on the repeat table.

I need a pre-filter (WHERE) with the following:
- Current date
- Logged in user

Like
WHERE DATE(`leverans_datum`) >= CURDATE() AND forare = '{$my->name}'

But because it are checkboxes I understood that I have to extract the ID's with something like this:

WHERE {thistable}.id IN (SELECT leverans_datum
FROM jos_1b_import_transporter_daily1_1129_repeat WHERE parent_id = ‘{jos_1b_import_transporter_daily1___id1_raw}’)

I cannot figure out what {thistable}.id must be.
I tried {jos_1b_import_transporter_daily1}.id1 but that gives an error

fabrikdebug only tells me that I have an error in my syntax :)

Can somebody help me out please?

Thanks a lot!
 
{thistable} is litterally, it's a placeholder for table aliases replaced by Fabrik

Gesendet von meinem SM-G930F mit Tapatalk
 
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top