]> git.koha-community.org Git - koha.git/commit
Bug 17249: Remove GetKohaAuthorisedValuesFromField - (follow-up) inventory
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 5 Sep 2016 15:12:56 +0000 (16:12 +0100)
committerMason James <mtj@kohaaloha.com>
Wed, 20 Sep 2017 02:00:06 +0000 (14:00 +1200)
commit38cbc453e0cc4a509fe267e32f3903393f449d41
treeb4770e4dd43117880b746911d6525d2fd8e10d5a
parenta1b569f89eead58d274a6c75d2790bda94fc0c55
Bug 17249: Remove GetKohaAuthorisedValuesFromField - (follow-up) inventory

Before this patch set, the tests in
t/db_dependent/Items/GetItemsForInventory.t were executed in 4s. But
with the previous patch, it was in 45sec(!)
To make sure decrease this execution time to what it was before, this
patch introduces a local to avoid the same query to be executed several
times.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
t/db_dependent/Items/GetItemsForInventory.t