Patron self-registration form doesn't keep home library upon refresh

Bug #1361270 reported by Terran McCanna
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Medium
Unassigned

Bug Description

When registering for a new card, if the patron has an error upon submit and the screen refreshes showing the error messages next to the incorrect fields, it keeps all the field data but loses the home library that the patron selected, forcing the patron to have to select it again.

Evergreen 2.5.1
OpenSRF 2.2.1
PostgreSQL 9.1.11
Ubuntu 12.04 LTS

Garry Collum (gcollum)
Changed in evergreen:
status: New → Confirmed
Revision history for this message
Eva Cerninakova (ece) wrote :

Confirmed in 3.0 beta.

Revision history for this message
Eva Cerninakova (ece) wrote :

Still exist in 3.1.1

Changed in evergreen:
importance: Undecided → Medium
Elaine Hardy (ehardy)
tags: added: patron
Revision history for this message
Dan Briem (dbriem) wrote :

Branch for testing: https://git.evergreen-ils.org/?p=working/Evergreen.git;a=commitdiff;h=d95dd753ecbeefe126a0cc8b8d4cc051be8e1245

It sets the org selector on the self registration form to the current org unit request parameter value if it exists and it's a valid org unit for self-registration.

This should retain the org unit selection on refresh or error instead of resetting back to the default context.

tags: added: pullrequest
Revision history for this message
Chris Sharp (chrissharp123) wrote :

Works for me! Pushed to master, rel_3_4 and rel_3_5. Thanks, Dan!

Changed in evergreen:
status: Confirmed → Fix Committed
Revision history for this message
Terran McCanna (tmccanna) wrote :

Noting that this fix was released some time ago, but the status was not updated.

Changed in evergreen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.