[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
Sun May 7 12:12:11 CEST 2017


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

Alex Buckley <alexbuckley at catalyst.net.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|In Discussion               |Needs Signoff

--- Comment #48 from Alex Buckley <alexbuckley at catalyst.net.nz> ---
Hi Jonathan

I have implemented:
> return $nb_items + $nb_biblioitems == 0 ? 1 : 0;

I have changed the wording of the last test and have implemented a test to
remove the item. All tests run successfully. 

As for updating the admin script I have removed the warn and changed the if
statement check so it is now:
> if ($overalltotal == 0){

Was there any other updates you wanted for the itemtypes.pl admin script?

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


More information about the Koha-bugs mailing list