Bug 11768: Show patron cardnumber in OPAC personal details
authorKyle M Hall <kyle@bywatersolutions.com>
Fri, 14 Feb 2014 20:09:06 +0000 (15:09 -0500)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 26 Feb 2014 17:22:40 +0000 (17:22 +0000)
In previous versions of Koha, the patron cardnumber was displayed in the
personal details section of the OPAC for logged in users. A patron needs
to be able to access his or her cardnumber in some cases to access
online resources a library makes available that requires his or her
cardnumber. This is especially important for patron self registration
where a patron may not have a physical library card. This field should
be re-added to the patron personal details page.

Test Plan:
1) Apply this patch
2) Log into the OPAC
3) Browse to "your personal details"
4) Verify the patron cardnumber is visible

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Restores cardnumber on personal details tab in OPAC for
prog and bootstrap theme. Passes all tests and QA script.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt
koha-tmpl/opac-tmpl/prog/en/modules/opac-memberentry.tt

index efc210c..cbfd3f2 100644 (file)
 
                         <legend id="library_legend">Library</legend>
                             <ol>
+                                <li>
+                                    <label>Card number</label>
+                                    <input type="text" value="[% borrower.cardnumber %]" disabled="disabled"/>
+                                </li>
+
                                 [% UNLESS hidden.defined('branchcode') %]
                                     <li>
                                         [% IF mandatory.defined('branchcode') %]
index 6913860..22a355e 100644 (file)
 
                                     <legend id="library_legend">Library</legend>
                                         <ol>
+                                            <li>
+                                                <label>Card number</label>
+                                                <input type="text" value="[% borrower.cardnumber %]" disabled="disabled"/>
+                                            </li>
+
                                             [% UNLESS hidden.defined('branchcode') %]
                                                 <li>
                                                     [% IF mandatory.defined('branchcode') %]