[Koha-bugs] [Bug 7016] CanBookBeReserved uses GetItemsInfo unnecessarily

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 19 22:05:43 CEST 2011


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7016

Nicole C. Engard <nengard at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #5998|0                           |1
        is obsolete|                            |

--- Comment #4 from Nicole C. Engard <nengard at gmail.com> 2011-10-19 20:05:43 UTC ---
Created attachment 5999
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=5999
[SIGNED-OFF] Bug 7016: CanBookBeReserved uses GetItemsInfo unnecessarily

CanBookBeReserved uses the very heavy-weight function GetItemsInfo to simply
retrieve
the itemnumbers attached to a given biblio.  The function get_itemnumbers_of()
is much
lighter-weight and returns the required information; switching to it will
reduce the overall
system resource cost of placing a hold.

Signed-off-by: Nicole C. Engard <nengard at bywatersolutions.com>

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the Koha-bugs mailing list