Bugzilla – Attachment 65191 Details for
Bug 18971
Typo Koha::ItemsTypes for Koha::ItemTypes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18971: Typo Koha::ItemsTypes for Koha::ItemTypes
Bug-18971-Typo-KohaItemsTypes-for-KohaItemTypes.patch (text/plain), 1.14 KB, created by
Marcel de Rooy
on 2017-07-22 19:51:05 UTC
(
hide
)
Description:
Bug 18971: Typo Koha::ItemsTypes for Koha::ItemTypes
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2017-07-22 19:51:05 UTC
Size:
1.14 KB
patch
obsolete
>From 21f4f860fc1ea12ffa07b11e702d70a7ea0c9956 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Sat, 22 Jul 2017 21:48:49 +0200 >Subject: [PATCH] Bug 18971: Typo Koha::ItemsTypes for Koha::ItemTypes >Content-Type: text/plain; charset=utf-8 > >As reported by Nick, a typo from bug 17843. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > acqui/orderreceive.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/acqui/orderreceive.pl b/acqui/orderreceive.pl >index f09e364..ee244d7 100755 >--- a/acqui/orderreceive.pl >+++ b/acqui/orderreceive.pl >@@ -146,7 +146,7 @@ if ($AcqCreateItem eq 'receiving') { > $descriptions = Koha::AuthorisedValues->get_description_by_koha_field({frameworkcode => $fw, kohafield => 'items.materials', authorised_value => $item->{materials} }); > $item->{materials} = $descriptions->{lib} // ''; > >- my $itemtype = Koha::ItemsTypes->find( $item->{itype} ); >+ my $itemtype = Koha::ItemTypes->find( $item->{itype} ); > $item->{itemtype} = $itemtype->description; # FIXME Should not it be translated_description? > push @items, $item; > } >-- >2.1.4
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 18971
:
65191
|
65200