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

--- Comment #6 from Martin Renvoize <[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to