
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Evergreen ILS". The branch, rel_3_14 has been updated via 10b6230535c76254a479464a03185ca1a0f2fd37 (commit) from 7f90337e6e976a613996f5491e535e9f9ec3ab55 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 10b6230535c76254a479464a03185ca1a0f2fd37 Author: Tiffany Little <tlittle@georgialibraries.org> Date: Wed Nov 13 14:29:41 2024 -0500 LP2088000 Change sort on parts grid Use the label_sortkey column to sort rather than just label. Release-note: Sorts bib record parts by label_sortkey rather than label so that labels such as Vol. 1, Vol. 2, Vol. 3 are sorted as expected. Co-authored By: Steven Mayo <smayo@georgialibraries.org> Signed-off-by: Steven Mayo <smayo@georgialibraries.org> Signed-off-by: Carol Witt <wittc@cwmars.org> Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org> diff --git a/Open-ILS/src/eg2/src/app/staff/catalog/record/parts.component.ts b/Open-ILS/src/eg2/src/app/staff/catalog/record/parts.component.ts index efd64dc988..8dfa44e75c 100644 --- a/Open-ILS/src/eg2/src/app/staff/catalog/record/parts.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/catalog/record/parts.component.ts @@ -69,9 +69,11 @@ export class PartsComponent implements OnInit { const orderBy: any = {}; if (sort.length) { // Sort provided by grid. - orderBy.bmp = sort[0].name + ' ' + sort[0].dir; + // Labels sort by label_sortkey instead of label + let sort_name = sort[0].name === 'label' ? 'label_sortkey' : sort[0].name; + orderBy.bmp = sort_name + ' ' + sort[0].dir; } else { - orderBy.bmp = 'label'; + orderBy.bmp = 'label_sortkey'; } const searchOps = { ----------------------------------------------------------------------- Summary of changes: Open-ILS/src/eg2/src/app/staff/catalog/record/parts.component.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) hooks/post-receive -- Evergreen ILS