ProgrammingError when searching for records
sv1jsb opened this issue · comments
Hello,
I am trying to search for a record in the record list page and I am getting back this message:
ProgrammingError: (ProgrammingError) operator does not exist: integer + boolean
LINE 4: WHERE 0 + (email LIKE '%' || 'dada@adasd.com' || '%')) AS an...
The column I am searching is declared with search_fields at the ModelAdmin class.
I am using Sqlalchemy.
Any help will be much appreciated.
Thank you very much
Andreas
Additionaly the equals operator "=" is mapped wrong to "==".
Searching for "=email" produses the following error:
ProgrammingError: (ProgrammingError) operator does not exist: character varying == unknown
LINE 4: WHERE email == 'asd') AS anon_1
Andreas