Bugzilla – Attachment 42527 Details for
Bug 14811
Don't set permanent_location to CART or PROC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14811: Do not update permanent_location if location is CART or PROC
Bug-14811-Do-not-update-permanentlocation-if-locat.patch (text/plain), 796 bytes, created by
Jonathan Druart
on 2015-09-14 14:40:30 UTC
(
hide
)
Description:
Bug 14811: Do not update permanent_location if location is CART or PROC
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-09-14 14:40:30 UTC
Size:
796 bytes
patch
obsolete
>From f9bb69441f7688ab87cd5176752e480b4392d0fb Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 14 Sep 2015 15:40:16 +0100 >Subject: [PATCH] Bug 14811: Do not update permanent_location if location is > CART or PROC > >--- > cataloguing/additem.pl | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/cataloguing/additem.pl b/cataloguing/additem.pl >index 38f5d92..7e94125 100755 >--- a/cataloguing/additem.pl >+++ b/cataloguing/additem.pl >@@ -70,6 +70,8 @@ sub get_item_from_barcode { > } > > sub set_item_default_location { >+ return if $item->{location} eq 'CART' >+ or $item->{location} eq 'PROC'; > my $itemnumber = shift; > my $item = GetItem( $itemnumber ); > if ( C4::Context->preference('NewItemsDefaultLocation') ) { >-- >2.1.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 14811
:
42527
|
42529
|
42891
|
42963