susannanam
Member
hi all,
in one list i have four databasejoin fields and all have the same table as base. all should have the same where clause (where sh2m8_term.ccm = 0). as soon as i put this where clause to the second field, i get t his error:
Unknown column 'sh2m8_term.ccm' in 'where clause' SQL=SELECT DISTINCT(`sh2m8_term_0`.`term_id`) AS value, `term_id` AS text FROM `sh2m8_term` AS `sh2m8_term_0` WHERE sh2m8_term.ccm = 0 ORDER BY text ASC
as long as there is max one where clause involved, the handling of the four fields works perfectly fine. only the second where-clause will fail.
susanne
in one list i have four databasejoin fields and all have the same table as base. all should have the same where clause (where sh2m8_term.ccm = 0). as soon as i put this where clause to the second field, i get t his error:
Unknown column 'sh2m8_term.ccm' in 'where clause' SQL=SELECT DISTINCT(`sh2m8_term_0`.`term_id`) AS value, `term_id` AS text FROM `sh2m8_term` AS `sh2m8_term_0` WHERE sh2m8_term.ccm = 0 ORDER BY text ASC
as long as there is max one where clause involved, the handling of the four fields works perfectly fine. only the second where-clause will fail.
susanne