Default Phone Number and SMS Number example and regex

Bug #2035396 reported by Lindsay Stratton
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Evergreen
New
Wishlist
Unassigned

Bug Description

It would be helpful to have library settings to display an example and set a regex for the User Setting > Default Phone Number and Default SMS/Text Number fields, same as for the day, evening, and other phone numbers.

This is particularly important for the SMS number, since it needs to be entered with out spaces or extra characters.

Dan Briem (dbriem)
tags: added: orgunitsettings patron wishlist
Revision history for this message
Dan Briem (dbriem) wrote :

Branch for testing: https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/dbriem/lp2035396_default_sms_phone_example_and_regex

I didn't mark this confirmed because I'm from Lindsay's system.

Adds new library settings to display an example or perform regex validation for the default and SMS phone fields on the patron registration and edit interfaces.

I was also going to let these fallback to the generic "Regex/Example for phone fields on patron registration" but as that could conceivably be a breaking change where systems could have many records where phone numbers would need to be updated when, say, updating expire dates for patrons, I thought maybe that should be another bug and not hold this up.

tags: added: pullrequest
Revision history for this message
Lindsay Stratton (lstratton) wrote :

Apparently I really want this... having submitted a previous ticket on the same topic in 2019: https://bugs.launchpad.net/evergreen/+bug/1847276

Changed in evergreen:
importance: Undecided → Wishlist
milestone: none → 3.next
Revision history for this message
Terran McCanna (tmccanna) wrote :

Dan - I'm getting merge conflicts when trying to apply to main today, can you please rebase?

tags: added: needsrebase
removed: wishlist
Revision history for this message
Dan Briem (dbriem) wrote :
tags: removed: needsrebase
Revision history for this message
Gina Monti (gmonti90) wrote :

I sign off on this! It does appear as long as SMS features are enabled and an example is put into the library setting that's added.

Gina Monti, <email address hidden>

Michele Morgan (mmorgan)
tags: added: signedoff
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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