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

Jonathan Druart <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Signed Off                  |Failed QA

--- Comment #19 from Jonathan Druart <[email protected]> ---
QA comment:
Just looking at the code:
If itemlost *and* wthdrawn are defined, we will have 2 calls to GetItem. It
could be improve if a test is added before the loop.

Something like:
if ( $item->{itemlost} or $item->{wthdrawn} ) {
 my $pre_mod_item = GetItem($item->{'itemnumber'});
 for my $field ( qw( itemlost wthdrawn ) ) {
     if ( defined( $item->{$field} ) ) {

Marked as Failed QA.

-- 
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