Bugzilla – Attachment 7544 Details for
Bug 7517
Patron category types not appearing as an <optgroup> when editing or creating a patron.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch
0001-Bug-7517-Patron-category-types-not-displaying-optgro.patch (text/plain), 3.49 KB, created by
Garry Collum
on 2012-02-09 21:34:47 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Garry Collum
Created:
2012-02-09 21:34:47 UTC
Size:
3.49 KB
patch
obsolete
>From 441d567a66fafa1e32537e0d9f8ac3caa6a65e92 Mon Sep 17 00:00:00 2001 >From: Garry Collum <gcollum@gmail.com> >Date: Thu, 9 Feb 2012 16:22:13 -0500 >Subject: [PATCH] Bug 7517: Patron category types not displaying <optgroup> in > dropdown. >Content-Type: text/plain; charset="utf-8" > >The patron category drop-down box does not display the general category groups as it once did. This patch fixes the display of the optgroups and a couple of minor XHTML errors. > >To test. Before applying the patch, go to a patron record. Edit the patron. Select the category drop-down in Library Management to see if the general categories appear. >After the patch is applied the dropdown will show the categories. 'Child' - child categories, 'Adult' - adult categories, etc. >--- > .../prog/en/modules/members/memberentrygen.tt | 16 ++++++++-------- > 1 files changed, 8 insertions(+), 8 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >index 02d39f5..ed8263c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >@@ -988,12 +988,12 @@ > [% FOREACH typeloo IN typeloop %] > [% FOREACH categoryloo IN typeloo.categoryloop %] > [% IF ( loop.first ) %] >- [% IF ( categoryloo.typename_C ) %]<optgroup label="Child">[% END %] >- [% IF ( categoryloo.typename_A ) %]<optgroup label="Adult">[% END %] >- [% IF ( categoryloo.typename_S ) %]<optgroup label="Staff">[% END %] >- [% IF ( categoryloo.typename_I ) %]<optgroup label="Organization">[% END %] >- [% IF ( categoryloo.typename_P ) %]<optgroup label="Professional">[% END %] >- [% IF ( categoryloo.typename_X ) %]<optgroup label="Statistical">[% END %] >+ [% IF ( typeloo.typename_C ) %]<optgroup label="Child">[% END %] >+ [% IF ( typeloo.typename_A ) %]<optgroup label="Adult">[% END %] >+ [% IF ( typeloo.typename_S ) %]<optgroup label="Staff">[% END %] >+ [% IF ( typeloo.typename_I ) %]<optgroup label="Organization">[% END %] >+ [% IF ( typeloo.typename_P ) %]<optgroup label="Professional">[% END %] >+ [% IF ( typeloo.typename_X ) %]<optgroup label="Statistical">[% END %] > [% END %] > [% IF ( categoryloo.categorycodeselected ) %] > <option value="[% categoryloo.categorycode %]" selected="selected">[% categoryloo.categoryname %]</option> >@@ -1264,7 +1264,7 @@ > [% IF opduplicate %] > <input type="text" name="datedebarred" id="debarred" class="debarred" value="[% datedebarred %]" onclick="this.value=''" /> > [% ELSE %] >- <input type="text" name="datedebarred" id="debarred" class="debarred" value="[% datedebarred %]" /> >+ <input type="text" name="datedebarred" id="datedebarred" class="debarred" value="[% datedebarred %]" /> > [% END %] > <img src="[% themelang %]/lib/calendar/cal.gif" id="debarred_button" alt="Show Calendar" /> > <script language="JavaScript" type="text/javascript"> >@@ -1281,7 +1281,7 @@ > [% IF ( opduplicate ) %] > <textarea id="debarredcomment" name="debarredcomment" cols="55" rows="3" onclick="this.value=''">[% debarredcomment %]</textarea> > [% ELSE %] >- <textarea id="debarredcomment" name="debarredcomment" cols="55" rows="3" ">[% debarredcomment %]</textarea> >+ <textarea id="debarredcomment" name="debarredcomment" cols="55" rows="3">[% debarredcomment %]</textarea> > [% END %] > </li> > >-- >1.7.5.4 >
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 7517
:
7544
|
7545
|
7546
|
7557
|
7871
|
7990