Prefilters Query Type Issue

teoyh

Member
In one of my list I had added the following prefilter;

Join : Where
field : codeno
Condition : In
Value : select substring(sapno,3,8) from employee
Type : Query
Apply : Registered

But I the following error;

You have an error in your SQL syntax;
....
FROM `attendance`
WHERE (attendance.codeno IN (select substring(sapno,'3','8) from stm_employee') ) LIMIT 0, 10

Any reason why substring cannot be used ?
 
Are you sure
select substring(sapno,3,8) from employee
this is exactly what is in your "Value"?
 
Confirmed this one. It's in our "defensive" coding that attempts to make sure certain structures are quoted.

Working on it.

-- hugh
 
Super appreciate your prompt action , I am doing a migration from an super old joomla and Fabrik to the new Joomla and Fabrik and I had experience awesome features in the new version of Fabrik.

Thank you so much for all the time and effort.
 
Done as per your request hahaha, hope that will make your day :)
 

Attachments

  • Subscription.jpg
    Subscription.jpg
    57.5 KB · Views: 108
We are in need of some funding.
More details.

Thank you.

Staff online

Members online

Back
Top