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

--- Comment #10 from Marc VĂ©ron <[email protected]> ---
Created attachment 38507
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=38507&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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to