[Koha-bugs] [Bug 14057] Inventory is painfully slow
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Apr 29 05:12:39 CEST 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14057
M. Tompsett <mtompset at hotmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #38621|0 |1
is obsolete| |
--- Comment #16 from M. Tompsett <mtompset at hotmail.com> ---
Created attachment 38622
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=38622&action=edit
Bug 14057 - A Rough Start
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
I see what you mean about opac vs. staff now.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list