Skip to content

modifier "or" not work correct #1148

@Ivanov-Anton

Description

@Ivanov-Anton

ransack(m: 'or', id_eq: "12", name_contains: "12").result
I expect to get the following query: SELECT * FROM table WHERE table.id = 12 OR name ILIKE '%12%'
but I got: SELECT * FROM table WHERE table.id = 12 AND name ILIKE '%12%'

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions