From 75800d9d8fdedc50cd07475294099b42ad17a3ee Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 11 Feb 2021 16:39:19 +0100 Subject: [PATCH] Bug 27671: Use Koha.Preference for UniqueItemFields Signed-off-by: Marcel de Rooy Signed-off-by: Jonathan Druart (cherry picked from commit 00b012c82d78fed0658758514d393d093f2ece0e) Signed-off-by: Fridolin Somers --- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt index 0b7790936e..7ae06c0769 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt @@ -486,7 +486,7 @@ $(document).ready(function() { [% IF (AcqCreateItem == 'receiving') %] - cloneItemBlock(0, '[% UniqueItemFields | html %]'); + cloneItemBlock(0, '[% Koha.Preference('UniqueItemFields') | html %]'); [% ELSIF (AcqCreateItem == 'ordering') && not order.subscriptionid %] $("input[name='items_to_receive']").change(function() { CalcQtyToReceive(); -- 2.39.5