20 Aug
2021
20 Aug
'21
11:08 a.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28871 --- Comment #12 from Tomás Cohen Arazi <tomascohen@gmail.com> --- (In reply to Marcel de Rooy from comment #9)
BTW It seems to me that we do not even need to do a search, just create a resultset with new only. But this is merely a theoretical difference. There will be no db read since we set the cache.
# $self = $self->search(\'0 = 1'); $self->_resultset()->set_cache([]);
That ->search call will not trigger a db search. That's correct. It was added so further chaining always returns ah empty set. -- You are receiving this mail because: You are watching all bug changes.