[Koha-bugs] [Bug 17944] Remove the sql code from itemtypes.pl administrative perl script

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Feb 1 05:20:35 CET 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17944

--- Comment #17 from M. Tompsett <mtompset at hotmail.com> ---
Comment on attachment 59715
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=59715
Bug 17944 - Moved the DBIx code into the ItemType.pm file

Review of attachment 59715:
 --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=17944&attachment=59715)
-----------------------------------------------------------------

::: admin/itemtypes.pl
@@ +140,4 @@
>  
>   } elsif ( $op eq 'delete_confirm' ) {
>  
> +    my $overalltotal = Koha::ItemType->get_items_and_biblioitems($itemtype_code);

This is what was asked for in comment #15.

@@ +151,4 @@
>  
>  } elsif ( $op eq 'delete_confirmed' ) {
>  
> +    my $itemtype = Koha::ItemType->get_items_and_biblioitems($itemtype_code);

This change confuses me.

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


More information about the Koha-bugs mailing list