Address alert in patron registration
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
Feature request / discussion...
The goal is to provide a way for staff to maintain a set of addresses that, when entered into the patron registration interface as a patron's address, will cause an alert to appear in the interface. Use cases for this include addresses at group homes, addresses known to be beyond some physical or political boundary, etc. any of which may affect lending policies to the patron. These would be full addresses, including street address, not just post code and/or city, etc.
The implementation seems simple enough: a table to store the addresses plus the alert message, a UI for managing the addresses, and an additional type of alert (a la duplicate patron alerts) within the patron registration UI.
Comments/
tags: | added: pullrequest |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
I would make the addresses able to be specified/matched by regex, at least for the street component, probably for all of the components, and perhaps by "billing address" and "mailing address" type limiters.
Maybe with an "any/all" flag for "any of the fields or all of the fields", so you can match on, say, a known set of ZIP codes for post office boxes only OR Street contains "P.?O.? Box" regardless of city/state fields to say that a "mailing address" shouldn't be a post office box.