Bug 27671: Use Koha.Preference for UniqueItemFields

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 00b012c82d)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Jonathan Druart 2021-02-11 16:39:19 +01:00 committed by Fridolin Somers
parent 0a70b3ec1c
commit 75800d9d8f
1 changed files with 1 additions and 1 deletions

View File

@ -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();