[Koha-bugs] [Bug 14057] Inventory is painfully slow
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri May 1 14:29:19 CEST 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14057
Kyle M Hall <kyle at bywatersolutions.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #38636|0 |1
is obsolete| |
--- Comment #20 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 38733
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=38733&action=edit
[PASSED QA] Bug 14057 - Inventory is painfully slow
This patch is a rough start. I believe it runs exponentially
faster, but its equality to the previous version needs to be
tested before I clean it up to acceptable standards.
Nested hashes of hashes was being a debugging nightmare.
Moved the SQL select to C4::Koha.
Changed the GetItemsForInventory to have a hashref parameter.
Added interface, in case there is a need for 'opac' vs. 'staff'.
Added t/db_dependent/Items/GetItemsForInventory.t
Added t/db_dependent/Koha/GetKohaAuthorisedValuesMapping.t
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list