Bugzilla – Attachment 36242 Details for
Bug 13399
Select a department: empty field if no description set in authorized value
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed Patch
bug-13399.patch (text/plain), 1.68 KB, created by
Tom Misilo
on 2015-02-28 03:46:59 UTC
(
hide
)
Description:
Proposed Patch
Filename:
MIME Type:
Creator:
Tom Misilo
Created:
2015-02-28 03:46:59 UTC
Size:
1.68 KB
patch
obsolete
>From ad6e0b9a92ff8d8b64a530ebc012425c10598340 Mon Sep 17 00:00:00 2001 >From: Thomas Misilo <misilot@users.noreply.github.com> >Date: Fri, 27 Feb 2015 22:44:50 -0500 >Subject: [PATCH] Add check to determine if d.lib exists > >Add a check to see if d.lib exists, if it does display that value. >Otherwise display the authorised value >--- > koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course.tt >index 841e454..eece677 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course.tt >@@ -80,9 +80,9 @@ > > [% FOREACH d IN departments %] > [% IF d.authorised_value == department %] >- <option value="[% d.authorised_value %]" selected="selected">[% d.lib %]</option> >+ <option value="[% d.authorised_value %]" selected="selected">[% IF d.lib %] [% d.lib %] [% ELSE %] [% d.authorised_value %] [% END %]</option> > [% ELSE %] >- <option value="[% d.authorised_value %]">[% d.lib %]</option> >+ <option value="[% d.authorised_value %]">[% IF d.lib %] [% d.lib %] [% ELSE %] [% d.authorised_value %] [% END %]</option> > [% END %] > [% END %] > </select>
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 13399
:
36242
|
37532
|
37783
|
37784
|
37785