Skip to content

Cumulative Filter and Conditions? #1575

@tsarma

Description

@tsarma

Applying conditions to Cumulative Filter throws Fatal error:
Contao 3.5.4
Isotope 2.3.1 b 4

screen shot 2015-11-27 at 14 17 59

Where 'var_check' is a custom attribute of type checkbox and applied to some T-shirts (Demo Installation)

Fatal error: Uncaught exception Exception with message Query error: Unknown column 'tl_iso_product.var_check' in 'where clause' (SELECT DISTINCT p1.colour AS options FROM tl_iso_product p1 LEFT OUTER JOIN tl_iso_product p2 ON p1.pid=p2.id WHERE p1.language='' AND p1.colour!='' AND p1.published='1' AND (p1.start='' OR p1.start<'1448629860') AND (p1.stop='' OR p1.stop>'1448629920') AND ( p1.pid=0 OR ( p2.published='1' AND (p2.start='' OR p2.start<'1448629860') AND (p2.stop='' OR p2.stop>'1448629920') ) ) AND ( p1.id IN ( SELECT pid FROM tl_iso_product_category WHERE page_id IN (87) ) OR p1.pid IN ( SELECT pid FROM tl_iso_product_category WHERE page_id IN (87) ) ) AND ( p2.type IN (2) ) AND tl_iso_product.var_check=1) thrown in system/modules/core/library/Contao/Database/Statement.php on line 295

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions