[Koha-bugs] [Bug 21206] C4::Items - Remove GetItem
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Aug 21 16:49:54 CEST 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21206
--- Comment #6 from Josef Moravec <josef.moravec at gmail.com> ---
Comment on attachment 77699
--> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=77699
Bug 21206: Replace C4::Items::GetItem
Review of attachment 77699:
--> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=21206&attachment=77699)
-----------------------------------------------------------------
::: C4/ILSDI/Services.pm
@@ +615,5 @@
> # Add renewal if possible
> my @renewal = CanBookBeRenewed( $borrowernumber, $itemnumber );
> if ( $renewal[0] ) { AddRenewal( $borrowernumber, $itemnumber ); }
>
> + my $issue = $item ? $item->checkout : return; # FIXME should be handled
This does not return....
::: labels/label-edit-batch.pl
@@ +87,4 @@
> my @numbers_list = split /\n/, $number_list; # Entries are effectively passed in as a <cr> separated list
> foreach my $number (@numbers_list) {
> $number =~ s/\r$//; # strip any naughty return chars
> + if( $number_type eq "itemnumber" && Koha::ITems->find($number) ) {
ITems -> Items
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list