Bugzilla – Attachment 74826 Details for
Bug 20592
updateitem.pl causes database errors when empty non-public item notes updated
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20592: Scope creep - fix other noise
Bug-20592-Scope-creep---fix-other-noise.patch (text/plain), 1.28 KB, created by
Jonathan Druart
on 2018-04-24 18:55:17 UTC
(
hide
)
Description:
Bug 20592: Scope creep - fix other noise
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2018-04-24 18:55:17 UTC
Size:
1.28 KB
patch
obsolete
>From e14a2c2feece079c5a72bd1d1aa54c09f3782d8d Mon Sep 17 00:00:00 2001 >From: Mark Tompsett <mtompset@hotmail.com> >Date: Wed, 18 Apr 2018 00:24:01 +0000 >Subject: [PATCH] Bug 20592: Scope creep - fix other noise > >--- > catalogue/moredetail.pl | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/catalogue/moredetail.pl b/catalogue/moredetail.pl >index 845d10e9e9..02ba741716 100755 >--- a/catalogue/moredetail.pl >+++ b/catalogue/moredetail.pl >@@ -132,9 +132,9 @@ foreach ( keys %{$data} ) { > ($itemnumber) and @items = (grep {$_->{'itemnumber'} == $itemnumber} @items); > foreach my $item (@items){ > $item->{object} = Koha::Items->find( $item->{itemnumber} ); >- $item->{'collection'} = $ccodes->{ $item->{ccode} } if ($ccodes); >+ $item->{'collection'} = $ccodes->{ $item->{ccode} } if ($ccodes && $item->{ccode}); > $item->{'itype'} = $itemtypes->{ $item->{'itype'} }->{'translated_description'}; >- $item->{'replacementprice'} = sprintf( "%.2f", $item->{'replacementprice'} ); >+ $item->{'replacementprice'} = sprintf( "%.2f", $item->{'replacementprice'} // 0 ); > if ( defined $item->{'copynumber'} ) { > $item->{'displaycopy'} = 1; > if ( defined $copynumbers->{ $item->{'copynumber'} } ) { >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 20592
:
74286
|
74399
|
74400
|
74824
|
74825
|
74826
|
78453
|
78454
|
80728
|
80731
|
80732