[Bug 14659] New: Allow patrons to enter card number and patron category on OPAC registration page
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14659 Bug ID: 14659 Summary: Allow patrons to enter card number and patron category on OPAC registration page Change sponsored?: Sponsored Product: Koha Version: master Hardware: All OS: All Status: ASSIGNED Severity: enhancement Priority: P5 - low Component: OPAC Assignee: jweaver@bywatersolutions.com Reporter: jweaver@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org Depends on: 14658 Both will be hidden by default, via PatronSelfModificationBorrowerUnwantedField (see bug 14658). Also, they will be read only for existing patrons (as cardnumber is currently). Referenced Bugs: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14658 [Bug 14658] Split PatronSelfRegistrationBorrowerUnwantedField into two preferences for creating and editing -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14659 Nicole Engard (ByWater) <nicole@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nicole@bywatersolutions.com -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14659 --- Comment #1 from Jesse Weaver <jweaver@bywatersolutions.com> --- Created attachment 42252 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=42252&action=edit Bug 14659: Allow patrons to enter card number and patron category on OPAC registration page Test plan: 1. Open OPAC self-registration page while logged out. 2. Note that cardnumber and categorycode are not shown. 3. Remove cardnumber and categorycode from PatronSelfRegistrationBorrowerUnwantedField. 4. Enable autoMemberNum. 5. Reload self-registration page, note that categorycode now shows. 6. Disable autoMemberNum. 7. Reload self-registration page, note that cardnumber now shows. 8. Try saving a patron with an existing cardnumber; this should fail and explain why. 9. Set CardnumberLength, and verify that those length restrictions are enforced. 10. Verify that patron can be created with custom categorycode and cardnumber. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14659 Jesse Weaver <jweaver@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #42252|0 |1 is obsolete| | --- Comment #2 from Jesse Weaver <jweaver@bywatersolutions.com> --- Created attachment 43042 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43042&action=edit Bug 14659: Allow patrons to enter card number and patron category on OPAC registration page Test plan: 1. Open OPAC self-registration page while logged out. 2. Note that cardnumber and categorycode are not shown. 3. Remove cardnumber and categorycode from PatronSelfRegistrationBorrowerUnwantedField. 4. Enable autoMemberNum. 5. Reload self-registration page, note that categorycode now shows. 6. Disable autoMemberNum. 7. Reload self-registration page, note that cardnumber now shows. 8. Try saving a patron with an existing cardnumber; this should fail and explain why. 9. Set CardnumberLength, and verify that those length restrictions are enforced. 10. Verify that patron can be created with custom categorycode and cardnumber. Signed-off-by: Michael Sauers <msauers@dospace.org> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14659 Jesse Weaver <jweaver@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14659 Jesse Weaver <jweaver@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14659 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |BLOCKED CC| |katrin.fischer@bsz-bw.de --- Comment #3 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Hm, we need 14658 first here. Please unblock when the patch for 14658 is in the QA queue again. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14659 Heather Braum <hbraum@nekls.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hbraum@nekls.org -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14659 --- Comment #4 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Comment on attachment 43042 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43042 Bug 14659: Allow patrons to enter card number and patron category on OPAC registration page Review of attachment 43042: --> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=14659&attachment=43042) ----------------------------------------------------------------- ::: Koha/Template/Plugin/Categories.pm @@ +26,5 @@
+sub GetName { + my ( $self, $categorycode ) = @_; + + my $schema = Koha::Database->new->schema; + return $schema->resultset( 'Category' )->search( {
Please use Koha::Patron::Categories->find instead. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14659 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|BLOCKED |ASSIGNED CC| |jonathan.druart@bugs.koha-c | |ommunity.org -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14659 Nicole C. Engard <nengard@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nengard@gmail.com Status|ASSIGNED |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14659 Barton Chittenden <barton@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |barton@bywatersolutions.com -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14659 Chris Rohde <crohde@roseville.ca.us> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |crohde@roseville.ca.us -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org