]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP#1800178 Holdings View should also sort by part
authorRemington Steed <rjs7@calvin.edu>
Fri, 26 Oct 2018 15:28:32 +0000 (11:28 -0400)
committerDan Wells <dbw2@calvin.edu>
Tue, 5 Mar 2019 21:23:35 +0000 (16:23 -0500)
commitdc9f879b3152549f286dbe9a8725aa3a64de4562
treebf7fea9ce6152abb5430047e04a779bc244791b9
parente2a63a87ad6ba013b6e1b692e562c06636f02fbd
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>
Signed-off-by: Rogan Hamby <rogan.hamby@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Open-ILS/web/js/ui/default/staff/cat/services/holdings.js