Angular staff catalog fails to honor cat.default_classification_scheme in bib summary.
Bug #1874897 reported by
Bill Erickson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Medium
|
Unassigned | ||
3.5 |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Evergreen 3.4
The default classification scheme is hard-coded to "1" in the staff catalog. From the bib summary code:
// TODO labelClass = cat.default_
const labelClass = 1;
For improved future-proofing, I'd propose we modify this API:
open-ils.
If no $class is provided by the caller, it should lookup the default classification and use it if found, finally falling back to the fields defined inline.
Changed in evergreen: | |
milestone: | 3.4.3 → 3.4.4 |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix pushed:
https:/ /git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ berick/ lp1874897- staffcat- def-classificat ion-scheme
To test,
1. Set a value for the org unit setting "cat.default_ classification_ scheme" which is not "1" and which refers to a valid "asset. call_number_ class" row. You may have to create/modify one to produce meaningfully different results in the UI.
2. Load a record in the detail page (e.g. /eg2/en- US/staff/ catalog/ record/ 248) and confirm the "Bib Call #" matches the scheme.