]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP#1800178 Holdings View should also sort by part user/rsteed/lp1800178_parts_sort_holdings_maint_webclient
authorRemington Steed <rjs7@calvin.edu>
Fri, 26 Oct 2018 15:28:32 +0000 (11:28 -0400)
committerRemington Steed <rjs7@calvin.edu>
Mon, 19 Nov 2018 19:53:24 +0000 (14:53 -0500)
commitbd08fa2d4e0b10a5db804774d4b1a7364b02a81c
tree9b2218b65581dfb70ffda2b849faa9aa807ede4b
parentd3a5455d7e798b8d54c8f7c86bb68d86e8517f0b
LP#1800178 Holdings View should also sort by part

The Holdings View tab of the web client doesn't correctly sort by
monograph parts. The JS is already grabbing the part label for display,
so this commit moves that chunk before the sorting code, and also grabs
the sort key. Note that the part labels and sort keys are joined per
item, since the database supports multiple parts per item (though the UI
hasn't yet supported that). And we now join the label on comma-space,
instead of the default (just a comma).

Signed-off-by: Remington Steed <rjs7@calvin.edu>
Open-ILS/web/js/ui/default/staff/cat/services/holdings.js