Bug 18208: [QA Follow-up] Get count from Koha::Items
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 7 Apr 2017 09:56:52 +0000 (11:56 +0200)
committerKyle M Hall <kyle@bywatersolutions.com>
Thu, 13 Apr 2017 12:51:04 +0000 (08:51 -0400)
commitb038bb131082c7c165bc2a71a44e974e15ebd839
tree2e6a51862bf3ea54becbd703fbb03b1d7c7c9444
parentb27b77307c24a60a0a49581396f01d19f87ebdb0
Bug 18208: [QA Follow-up] Get count from Koha::Items

Removes the loop by moving the onloan test to the query.

Test plan:
Run the test again.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Koha/Filter/MARC/EmbedItemsAvailability.pm