From 3fc96e29c0767745ef63ee222ceb3571dfc2dc59 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Thu, 2 Jan 2020 18:06:20 +0000 Subject: [PATCH] Bug 9156: Clarify order in the syspref Signed-off-by: Andrew Fuerste-Henry --- C4/Reserves.pm | 4 ++-- .../intranet-tmpl/prog/en/modules/admin/preferences/cataloguing.pref | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/C4/Reserves.pm b/C4/Reserves.pm index 7a3785724a..c508b44294 100644 --- a/C4/Reserves.pm +++ b/C4/Reserves.pm @@ -1195,8 +1195,8 @@ sub IsAvailableForItemLevelRequest { # FIXME - a lot of places in the code do this # or something similar - need to be # consolidated - my $itemtype = $item->effective_itemtype; - my $notforloan_per_itemtype = Koha::ItemTypes->find($itemtype)->notforloan; + my $itemtype = Koha::ItemTypes->find( $item->effective_itemtype ); + my $notforloan_per_itemtype = defined $itemtype ? $itemtype->notforloan : 0; return 0 if $notforloan_per_itemtype || diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/cataloguing.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/cataloguing.pref index dbfd788c66..456f732fa1 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/cataloguing.pref +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/cataloguing.pref @@ -74,7 +74,7 @@ Cataloging: - - Map the MARC subfield - pref: itemcallnumber - - "to an item's callnumber. (This can contain multiple subfields to look in; for instance 082ab would look in 082 subfields a and b.)
Examples (for MARC21 records): Dewey: 082ab or 092ab; LOC: 050ab or 090ab; from the item record: 852hi" + - "to an item's callnumber. (This can contain multiple subfields to look in; for instance 082ab would look in 082 subfields a and b.)
Note: The order of the subfields in the record will be preserved.
Examples (for MARC21 records): Dewey: 082ab or 092ab; LOC: 050ab or 090ab; from the item record: 852hi" - - Display MARC subfield - pref: AlternateHoldingsField -- 2.11.0