]> 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)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 21 Oct 2016 15:13:57 +0000 (15:13 +0000)
commitaf224055de23a25a4cae7f4a7e0e047d3e8780f1
treeb7a577430c95210a901772fb99b0fc2d4f9876d0
parent7ea9b72c67ea2bb8f7ec11388a3a0c62e8384473
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>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
t/db_dependent/Items/GetItemsForInventory.t