From bc235e72ce7d545c8c44dae294f542e378c7e231 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 9 May 2022 09:28:04 +0200 Subject: [PATCH] Bug 30603: Display Sort1 and Sort2 as free text if no AV exists Test plan: Don't define AV for Sort1 and Sort2, edit a patron => Should be editable via an input box Define AVs for Sort1 and Sort2, edit a patron => Should see the dropdown Signed-off-by: David Nind Signed-off-by: Tomas Cohen Arazi Signed-off-by: Fridolin Somers --- koha-tmpl/intranet-tmpl/prog/en/includes/av-build-dropbox.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/av-build-dropbox.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/av-build-dropbox.inc index f3b57374fe..263a190a15 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/av-build-dropbox.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/av-build-dropbox.inc @@ -11,7 +11,7 @@ [% SET avs = AuthorisedValues.GetAuthValueDropbox( category ) %] [% DEFAULT class = '' size = 20 %] -[% IF avs %] +[% IF avs.count %]