dbjoin rendered as checkboxes

arie

Member
Hi,

I have a dbjoin rendered as checkboxes.
In the list view settings of that field, Filter type in defined as a dropdown.

It seems that the Joins where and/or order by statement (SQL) isn't applied to the element filter (list view).
Does it normal behavior?

Thanks
 
Hi,
I've committed the fix. Indeed, the bug gone but when I know publish this element in the list filters and try to use that filter, I get that (see the bold part, the IN clause is empty). Do you think is steel a bug or this is linked to my own setup?

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ) ORDER BY `ass_donator`.`name_donator` ASC, `ass_donator`.`first_donator` ' at line 10 SQL=SELECT DISTINCT `ass_donator`.`id` AS __pk_val0, `ass_donator_address`.`id` AS __pk_val1, `ass_donator_child`.`id` AS __pk_val2, `ass_donator_118_repeat`.`id` AS __pk_val3 FROM `ass_donator` LEFT JOIN `ass_donator_address` AS `ass_donator_address` ON `ass_donator_address`.`donator_id` = `ass_donator`.`id` LEFT JOIN `ass_donator_child` AS `ass_donator_child` ON `ass_donator_child`.`donator_id` = `ass_donator`.`id` LEFT JOIN `ass_donator_address_type` AS `ass_donator_address_type` ON `ass_donator_address_type`.`id` = `ass_donator_address`.`type_id` LEFT JOIN `ass_donator_type` AS `ass_donator_type` ON `ass_donator_type`.`id` = `ass_donator`.`type_id` LEFT JOIN `ass_donator_118_repeat` AS `ass_donator_118_repeat` ON `ass_donator_118_repeat`.`parent_id` = `ass_donator`.`id` LEFT JOIN `ass_country` AS `ass_country` ON `ass_country`.`id` = `ass_donator_address`.`country_donator` LEFT JOIN `ass_donator` AS `ass_donator_0` ON `ass_donator_0`.`id` = `ass_donator_child`.`donator_child_id` LEFT JOIN `ass_donator_child_type` AS `ass_donator_child_type` ON `ass_donator_child_type`.`id` = `ass_donator_child`.`donator_child_type` LEFT JOIN `ass_donator_title` AS `ass_donator_title` ON `ass_donator_title`.`id` = `ass_donator`.`title_id` WHERE ( ass_donator.association_id = 1 ) AND ( `ass_donator`.`id` IN () ) ORDER BY `ass_donator`.`name_donator` ASC, `ass_donator`.`first_donator` ASC
 
I have added this fix in my server file (bold part of the code):
/components/com_fabrik/helpers/string.php

line 522
if ($commaSeparated && !is_array($values2)) {
$values2 = explode(',', $values2);
}

line 538
if ($commaSeparated && !is_array($values2)) {
$values2 = implode(',', $values2);
}

previously, explode function was raised the bug below because trying to explode an array
 
Hi, I have re-enabled your login in the COPIE site. Please use the My Sites details.

Do as follows:
- go to COPIEPROD/donators
- Use the filter field called Groupe
- Click on Filter
 
Hi, I have re-enabled your login in the COPIE site. Please use the My Sites details.

Which "your login"? Your My Site details (username/pass) for COPIEPROD are empty. I've tried the ones from the other My Sites entry, including the standard 'ariouche' one I've always used in the past, both 'rob' ones (one form My Sites, and one Last Pass has), plus another couple of different names that Last Pass has for your sites. Nothing works for me on that COPIEPROD site.

-- hugh
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top