| Summary: | MARC21: Sort 4xx/5xx in BuildSummary alphabetic within hierarchy ($w: g or h) | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Marcel de Rooy <m.de.rooy> |
| Component: | MARC Authority data support | Assignee: | Marcel de Rooy <m.de.rooy> |
| Status: | Needs Signoff --- | QA Contact: | Testopia <testopia> |
| Severity: | enhancement | ||
| Priority: | P5 - low | CC: | j.de.meester |
| Version: | Main | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | Small patch |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: | ||
| Circulation function: | |||
| Attachments: |
Bug 46185: Sort see from / see also in BuildSummary
Bug 41685: Sort seefrom/seealso in BuildSummary Bug 41685: Unit tests |
||
|
Description
Marcel de Rooy
2026-01-22 13:17:24 UTC
Created attachment 192118 [details] [review] Bug 46185: Sort see from / see also in BuildSummary Test plan: Comes very soon. Comment on attachment 192118 [details] [review] Bug 46185: Sort see from / see also in BuildSummary Wrong bug number Created attachment 192318 [details] [review] Bug 41685: Sort seefrom/seealso in BuildSummary Test plan (MARC21): [1] Create an authority record, say a term. Include two 450s, the first one starting with Z and second with A. Include five 550s, where two are narrower ($w==h), two broader ($w==g) and one without $w. Make sure that the terms will sort differently than the field order (go back in alphabet when filling subsequent $a's or so). [2] Perform an authority search that includes the new authority. [3] Verify that the terms in the Summary column for this authority are sorted first on hierarchy, second alphabetically. The one without hierarchy should be in the middle. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Created attachment 192319 [details] [review] Bug 41685: Unit tests Test plan: Run t/db_dependent/AuthoritiesMarc.t Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> |