Angular circ modifier admin fm-editor needs some required fields and a dropdown for SIP2 Media Type
Bug #1860466 reported by
Jane Sandberg
This bug affects 7 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Confirmed
|
Medium
|
Unassigned |
Bug Description
It is pretty easy to fail at creating a new Circulation Modifier in the new Angular interface. Code, Name, Description, and SIP2 Media Type are all required, but they are not indicated as such. These four fields should be marked as required in the IDL. Bill Erickson gives some great instructions for doing this here: https:/
Additionally, the SIP2 Media Type field should have a dropdown of possible values (like the Dojo interface did), so that users don't have to intuit these values when creating new circ modifiers.
To post a comment you must log in.
FWIW, here's the dropdown from the dojo version: https:/ /github. com/evergreen- library- system/ Evergreen/ blob/master/ Open-ILS/ src/templates/ conify/ global/ config/ circ_modifier. tt2#L6
It looks like the SIP code (e.g. '001', '005') is all that gets stored in the database. Then the dojo has some code to make sure that the grid and editor both show a human-readable name for that SIP2 Media Type.
One solution would be to add the SIP codes and their human-readable descriptions to their own table in the db in an i18n-friendly way, and set up a link in the IDL, so that this grid can still be cleanly auto-generated, and display all the right stuff to the user.