Web client: stat cats not in alpha order

Bug #1744386 reported by Elaine Hardy
30
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Medium
Unassigned
3.1
Fix Released
Medium
Unassigned
3.2
Fix Released
Medium
Unassigned

Bug Description

In the copy editor, local stat cats are not listed in alphabetical order as they are in the XUL client.

Revision history for this message
Beth Willis (willis-a) wrote :

Confirmed in EG 3.0. It is preferable that the order of statistical categories in the web client replicate that of the xul client.

Revision history for this message
Jane Sandberg (sandbergja) wrote :

I created a branch to fix this here: http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/sandbergja/lp1744386_alphabetize_stat_cats_in_volcopy

The branch is called user/sandbergja/lp1744386_alphabetize_stat_cats_in_volcopy

It sorts stat cats first by their owning library, then by the name of the stat cat. I'm happy to change this behavior if it makes more sense to sort them only by name of the stat cat.

I've attached some before/after screenshots too, in case it helps.

Revision history for this message
Jane Sandberg (sandbergja) wrote :

Screenshot from my branch

tags: added: pullrequest sorting
Remington Steed (rjs7)
Changed in evergreen:
status: New → Confirmed
Revision history for this message
Remington Steed (rjs7) wrote :

I actually interpreted this bug to be about the contents of each stat cat dropdown, which I guess are technically the stat cat "entries". So I see two separate issues here:

1. As Jane showed in her images, the stat cats themselves are arranged in an unhelpful order. At my institution, the web client lists them in exactly opposite order compared with the XUL client, and neither order seems helpful. So I support Jane's branch to improve this.

2. I think Elaine's original report was about the stat cat entries within each dropdown. I can confirm they are not sorted in the web client. And even if that's not what she wanted, that is what I'd like to see.

To prevent this bug from getting confusing, I'll open a new ticket for sorting the entries.

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

It was about the order of stat cats in each dropdown

Revision history for this message
Remington Steed (rjs7) wrote :

Here's the new bug I created for the sorting of entries within each stat cat dropdown: bug #1777184

Michele Morgan (mmorgan)
Changed in evergreen:
milestone: none → 3.next
tags: added: cataloging
Revision history for this message
Jason Etheridge (phasefx) wrote :

Pushed to master for great justice. Thanks Jane!

Changed in evergreen:
assignee: nobody → Jason Etheridge (phasefx)
Changed in evergreen:
assignee: Jason Etheridge (phasefx) → nobody
status: Confirmed → Fix Committed
Revision history for this message
Suzanne Paterno (paterno) wrote :

I updated the search to sort first by library, then by statistical category, then sort entires within the categories.

https://git.evergreen-ils.org/?p=working/Evergreen.git;a=commit;h=8e30427717b1f48acc3a8c8e95c0698bc4400adc

Galen Charlton (gmc)
Changed in evergreen:
importance: Undecided → Medium
Cesar V (cesardv)
Changed in evergreen:
assignee: nobody → Cesar V (cesardv)
Galen Charlton (gmc)
Changed in evergreen:
assignee: Cesar V (cesardv) → nobody
Revision history for this message
Galen Charlton (gmc) wrote :

I've now backported Jane's patch to rel_3_2 and rel_3_1. Thanks!

Changed in evergreen:
milestone: 3.next → 3.3.1
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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