https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #44 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- (In reply to Jonathan Druart from comment #43)
(In reply to Jonathan Druart from comment #40)
(In reply to Owen Leonard from comment #39)
When I test searches which are limited to staff users I get an error: "Embedding objects is not allowed on this endpoint."
Yes, it's the last patch that is causing problems. I am obsoleting it.
To clarify, this patch was not causing Owen's issue. However I found yesterday:
https://snipboard.io/3eYNEw.jpg I am searching for "sss" which I know return 1 result (from extended attribute) then I filter general on "ed" => still one result => all good
then: https://snipboard.io/HYJyuU.jpg I am adding "ed" to filter on surname It should NOT change anything in the result set, as "Edna" contains "ed" but it does not returning anything If I am continuing to play, I am getting a 500 at some point (don't know exactly from which point it happened) the 500 is: GET /api/v1/patrons: unhandled exception (DBIx::Class::Exception)<<SQL::Abstract::puke(): [SQL::Abstract::__ANON__] Fatal: Supplying an empty left hand side argument is not supported. in array-pairs at /usr/share/perl5/Data/Page.pm line 49>> Koha::REST::Plugin::Exceptions::__ANON__ /kohadevbox/koha/Koha/REST/Plugin/Exceptions.pm (73)... So the query is badly construct.
I can't replicate these issues -- You are receiving this mail because: You are watching all bug changes.