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:00 +0000 (16:23 -0500)
commitb12d5a92fb7fefa123cd3a176373148d60e04f1f
treedc6558f58b2c5510e86ea15bf278536d883914c5
parent8c3537565269c854390cdb92c4a4bd6bd550a317
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