]> git.evergreen-ils.org Git - 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:57 +0000 (16:23 -0500)
commite4e8c7a5f1e1586262d9720c45ed0ab443936267
treea3e9f6290a23fb977a5230ab1714cfdcd9eca654
parent0da647e53fd367acbf9fc4b1288878c73e365723
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