Bugzilla – Attachment 120364 Details for
Bug 27837
Permanent location is reverted to location when location updated and permanent_location mapped to MARC field
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27837: Permanent location to be empty string, check if key exists
Bug-27837-Permanent-location-to-be-empty-string-ch.patch (text/plain), 934 bytes, created by
Katrin Fischer
on 2021-05-02 16:16:51 UTC
(
hide
)
Description:
Bug 27837: Permanent location to be empty string, check if key exists
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2021-05-02 16:16:51 UTC
Size:
934 bytes
patch
obsolete
>From 33e1777dc491035844b2a39b36aaee4c9698a9e5 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Thu, 4 Mar 2021 10:30:31 -0500 >Subject: [PATCH] Bug 27837: Permanent location to be empty string, check if > key exists > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > C4/Items.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Items.pm b/C4/Items.pm >index e2f81d0bef..3ba49a2477 100644 >--- a/C4/Items.pm >+++ b/C4/Items.pm >@@ -304,7 +304,7 @@ sub ModItemFromMarc { > my $item_object = Koha::Items->find($itemnumber); > my $item = TransformMarcToKoha( $localitemmarc, $frameworkcode, 'items' ); > >- my $has_permanent_location = $item->{permanent_location}; >+ my $has_permanent_location = exists $item->{permanent_location}; > > # Retrieving the values for the fields that are not linked > my @mapped_fields = Koha::MarcSubfieldStructures->search( >-- >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 27837
:
117570
|
117572
|
117625
|
117626
|
117627
|
117628
|
117634
|
117728
|
117729
|
117730
|
117735
|
117738
|
120361
|
120362
|
120363
|
120364
|
120562
|
120563
|
120564
|
120565
|
120566
|
120616
|
120628
|
120629
|
120832
|
121044
|
121045
|
121046
|
121047
|
121048
|
121049
|
121050
|
121051
|
121052