Angular Staff Catalog: Copy table sort order

Bug #1908623 reported by Terran McCanna
48
This bug affects 10 people
Affects Status Importance Assigned to Milestone
Evergreen
Confirmed
Medium
Unassigned
3.11
Confirmed
Undecided
Unassigned

Bug Description

In 3.6.1:

The holdings on the item table don't appear to be in any obvious order.

Ideally, they'd default to being in order by location, with the columns being sortable.

Revision history for this message
Elaine Hardy (ehardy) wrote :

Also being able to view holdings from a single library or system as in holdings view would also be helpful

Changed in evergreen:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Terran McCanna (tmccanna) wrote :

Noting that this is still a big problem for our consortium since most items have so many holdings.

Michele Morgan (mmorgan)
tags: added: staffcatalogblocker
Changed in evergreen:
assignee: nobody → Terran McCanna (tmccanna)
Revision history for this message
Terran McCanna (tmccanna) wrote :

After looking at this with Bill - the sorting is being done by the branch name, but the display is the branch code which is why it doesn't appear to be in order. Changing the sort to sort by branch code would resolve the issue.

Changed in evergreen:
assignee: Terran McCanna (tmccanna) → nobody
Revision history for this message
Bill Erickson (berick) wrote :
tags: added: pullrequest
Changed in evergreen:
milestone: none → 3.11.2
Revision history for this message
Susan Morrison (smorrison425) wrote :

Confirmed the org units in the item table are grouped and sorting based on order in org unit tree.

I have tested this code and consent to signing off on it with my name, Susan Morrison, and my email address, <email address hidden>.

tags: added: signedoff
Changed in evergreen:
assignee: nobody → Terran McCanna (tmccanna)
Revision history for this message
Terran McCanna (tmccanna) wrote :

Removing signoff because although at first glance in Concerto data it appears to work, it's still actually displaying in the same order as a branch without the patch.

In this screenshot, I would either expect BM1 to appear a) between BR3 and BR4 because it is a sublibrary of BR3, or b) first because then it would be alphabetical by shortname.

tags: removed: signedoff
tags: added: needswork
removed: pullrequest
Changed in evergreen:
assignee: Terran McCanna (tmccanna) → nobody
Changed in evergreen:
milestone: 3.11.2 → 3.12.1
tags: added: pullrequest
removed: needswork
tags: added: needswork
removed: pullrequest
Revision history for this message
Steven Mayo (stmayo) wrote :

We've figured out why sub-libraries were sorted to the bottom.

evergreen.rank_ou is higher priority than the custom sort field (shortname here) for sorting on this page. It sorts whether or not a library is the user's preferred library, which we want, but if none are preferred it also ranks libraries based on org tree distance. (number of steps up and down)
Because sublibraries are further than every other library in org unit steps, they are displayed last.

We're hesitant to change evergreen.rank_ou because we're not sure what else it would change, but our next steps for fixing this are probably to add a variation of evergreen.rank_ou that ignores distance if you pass it a boolean.

Changed in evergreen:
milestone: 3.12.1 → 3.12.2
Changed in evergreen:
milestone: 3.12.2 → 3.12.3
Revision history for this message
Jane Sandberg (sandbergja) wrote :

Removing targets, since there is not an active pullrequest.

Changed in evergreen:
milestone: 3.12.3 → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.