TPac: copies record display should sort by normalized call number
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
Consider a encyclopedia with 10 volumes that are assigned the following call numbers:
AE5 .E363 1975 v.1
AE5 .E363 1975 v.2
AE5 .E363 1975 v.3
AE5 .E363 1975 v.4
AE5 .E363 1975 v.5
AE5 .E363 1975 v.6
AE5 .E363 1975 v.7
AE5 .E363 1975 v.8
AE5 .E363 1975 v.9
AE5 .E363 1975 v.10
The copy list in TPac will sort them by label, which is not the desired sort order:
AE5 .E363 1975 v.1
AE5 .E363 1975 v.10
AE5 .E363 1975 v.2
AE5 .E363 1975 v.3
AE5 .E363 1975 v.4
AE5 .E363 1975 v.5
AE5 .E363 1975 v.6
AE5 .E363 1975 v.7
AE5 .E363 1975 v.8
AE5 .E363 1975 v.9
They should be sorted by the call number label sortkey, which (at least for volume records using the LC normalizer) will give the correct order.
Evergreen master
Changed in evergreen: | |
milestone: | none → 2.4.0-beta |
importance: | Undecided → Wishlist |
status: | New → In Progress |
assignee: | nobody → Galen Charlton (gmc) |
Changed in evergreen: | |
milestone: | 2.4.0-beta → 2.4.0-rc |
Changed in evergreen: | |
milestone: | 2.4.0-rc → 2.5.0-alpha |
Changed in evergreen: | |
milestone: | 2.5.0-m1 → none |
milestone: | none → 2.5.0-m2 |
Changed in evergreen: | |
milestone: | 2.5.0-m2 → 2.5.0-alpha1 |
Changed in evergreen: | |
milestone: | 2.5.0-alpha1 → 2.5.0-alpha2 |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
assignee: | Galen Charlton (gmc) → nobody |
A patch for this is available in the collab/ gmcharlt/ lp1131889_ sort_cn_ by_sortkey branch in the working/Evergreen repository:
http:// git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/collab/ gmcharlt/ lp1131889_ sort_cn_ by_sortkey
I'm not putting a pullrequest tag on this yet in case there's any desire to discuss including call number affixes in the sort.