https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24502 --- Comment #6 from Agustín Moyano <agustinmoyano@theke.io> --- (In reply to Martin Renvoize from comment #4)
Tomas also asked me to mention how I did similar when coding another project.. just for possible inspiration...
I used 'Search::Query::Dialect' and adopted the DBIx::Class dialect with some customised additions to get it working.. it leads to a reasonably nice functional query string syntax for mostly simple queries.. I don't remember getting as far as doing full-on JSON based body queries though.. so I'm not sure how helpful it would be here?
Regarding DSL, I didn't find it was illogical the one dbic proposes.. it certainly has ugly names like "-or" or "-and", but the rest it's quite similar. Maybe we can discuss it later on a following bug? -- You are receiving this mail because: You are watching all bug changes.