Bugzilla – Attachment 134798 Details for
Bug 30603
Sort 1 and Sort 2 on patron form are on longer free text when AV categories are empty
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30603: Display Sort1 and Sort2 as free text if no AV exists
Bug-30603-Display-Sort1-and-Sort2-as-free-text-if-.patch (text/plain), 1.24 KB, created by
David Nind
on 2022-05-10 00:10:45 UTC
(
hide
)
Description:
Bug 30603: Display Sort1 and Sort2 as free text if no AV exists
Filename:
MIME Type:
Creator:
David Nind
Created:
2022-05-10 00:10:45 UTC
Size:
1.24 KB
patch
obsolete
>From e199156d1fa22fd96ac131bd89c6c7c28f6edfda Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >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 <david@davidnind.com> >--- > 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 %] > <select id="[% name | html %]" name="[% name | html %]" class="[% class | html %]" > > [% IF all %]<option value="">All</option>[% END %] > [% IF empty %]<option value=""></option>[% END %] >-- >2.30.2
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 30603
:
134778
|
134779
|
134780
|
134798
|
134799
|
134812
|
134813