[Koha-bugs] [Bug 14057] Inventory is painfully slow

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Apr 25 11:49:21 CEST 2015


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

--- Comment #8 from Marc Véron <veron at veron.ch> ---
Created attachment 38506
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=38506&action=edit
Bug 14057 - A Rough Start - Compare old and new code

This patch gets values using both methods to compare the results.
For testing purposes only.

To test:
Apply patch
Compare results by commenting /uncommenting appropriate lines after line 1154
in C4/Items.pm

If found one difference: Old code could not handle Withdrawn status (displays 1
instead of the text)

------
Amended:
I changed the test code to reflect the old behaviour fixed with patch from Bug
14061
It writes a warning if the old and the new value are not the same.
I still got differences with the Withdrawn status and found out, that it took
the auth value for OPAC.
This is due to a part of the select statement in the first patch (Line 1122)
that overrules the value for the staff client:
IF(TB.lib_opac>'',TB.lib_opac,TB.lib)

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list