Skip to content

[mysql 5.5] search request with bool not works #2307

@napley

Description

@napley

The generate request to search on checkbox field with a bool value is different between mysql 5.7 and 5.5.

With Mysql 5.7 :

[▼
"evenements"
"%true%"
"online_event"
"published"
"start"
]

With Mysql 5.5 :

[▼
"evenements"
"["%true%"]"
"online_event"
"published"
"start"
]

Details

Question Answer
Relevant Bolt Version 4.1.10
Install type Composer install
BC Break no
PHP version 7.4
Web server Nginx
For UX/UI issues Firefox 84

Reproduction

A setContent request with search on a checkbox :

{% setcontent events = 'evenements' where { online_event: '%false%' } limit 6 orderby '-start' %}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions