Bug 6788 - cardnumber removed when editing patron record
Summary: cardnumber removed when editing patron record
Status: CLOSED DUPLICATE of bug 6611
Alias: None
Product: Koha
Classification: Unclassified
Component: Patrons (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low critical
Assignee: Kyle M Hall
QA Contact: Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-25 21:34 UTC by Jorge de Cardenas
Modified: 2019-06-27 09:24 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***