joomlamate
Member
I have a dropdown dbjoin element with a WHERE clause.
I am trying to create a dropdown filter for the list, but the filter will generate a wrong sql statement in the list.
Like:
WHERE `webxcon_casinos`.`type` IN ('2','3','1') `webxcon_cstypes`.id
Isn't possible to achieve this, is it a bug, or it is a matter of something I am doing wrong?
I am trying to create a dropdown filter for the list, but the filter will generate a wrong sql statement in the list.
Like:
Code:
SELECT DISTINCT(`webxcon_cstypes`.`software_type`) AS `text`, `webxcon_casinos`.`type` AS `value` FROM `webxcon_casinos` LEFT JOIN `webxcon_cstypes` AS `webxcon_cstypes` ON `webxcon_cstypes`.`id` = `webxcon_casinos`.`type` LEFT JOIN `#__content` AS `#__content` ON `#__content`.`id` = `webxcon_casinos`.`review_article` WHERE `webxcon_casinos`.`type` IN ('2','3','1') `webxcon_cstypes`.id > 0 AND `webxcon_cstypes`.published = 1 LIMIT 0, 100
WHERE `webxcon_casinos`.`type` IN ('2','3','1') `webxcon_cstypes`.id
Isn't possible to achieve this, is it a bug, or it is a matter of something I am doing wrong?