https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38686 --- Comment #4 from Roman Dolny <roman.dolny@jezuici.pl> --- Created attachment 175764 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175764&action=edit Bug 38686: Add Koha::Items->filter_by_checked_out() This patch adds a method for filtering `Koha::Items` resultsets by keeping only those items that currently checked out. Usage: ```perl if ( $biblio->items->filter_by_checked_out()->count ) { # do your stuff } ``` To test: 1. Apply this patches 2. Run: $ ktd --shell k$ prove t/db_dependent/Koha/Items.t => SUCCESS: Tests pass 3. Sign off :-D Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl> -- You are receiving this mail because: You are watching all bug changes.