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

--- Comment #9 from Marcel de Rooy <[email protected]> ---
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([]);

-- 
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