[Koha-bugs] [Bug 24502] Add a query language and param (q=) to the API

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jan 30 17:54:59 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24502

--- Comment #6 from Agustín Moyano <agustinmoyano at 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.


More information about the Koha-bugs mailing list