[Koha-bugs] [Bug 27002] Make Koha::Biblio->pickup_locations return a Koha::Libraries resultset

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Nov 13 17:17:53 CET 2020


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

--- Comment #6 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Gotta love unit tests.. that last one was hard to pin down.

Our ->empty method in Koha::Objects is interesting.. as the commit comment says
it Only resets the query result cache (which affects the iterating methods) but
does NOT set anything for the query itself.. as such it's like having a brand
new object when chaining as as such will return the opposite of what you want..
ALL rows rather than NONE when used in a query chain.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list