Bug 6788

Summary: cardnumber removed when editing patron record
Product: Koha Reporter: Jorge de Cardenas <jdeca>
Component: PatronsAssignee: Kyle M Hall <kyle.m.hall>
Status: CLOSED DUPLICATE QA Contact: Bugs List <koha-bugs>
Severity: critical    
Priority: P5 - low CC: gmcharlt, koha.sekjal
Version: unspecified   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Jorge de Cardenas 2011-08-25 21:34:03 UTC
Koha version 	3.05.00.004

When editing a patron record using the small 'edit' link (step_1) the hidden field for cardnumber is missing on the form. When the record is saved, it is saved with a blank cardnumber.

I fixed it in the memberentrygen.tt
Added around line 156.

[% IF (step) %]<input type="hidden" name="cardnumber" value="[% cardnumber %]" />[% END %]

Jorge
Comment 1 Ian Walls 2011-08-30 19:43:20 UTC
A very similar fix has been implemented for bug 6611, and is now integrated into Koha.

*** This bug has been marked as a duplicate of bug 6611 ***