Web client: stat cats not in alpha order

Bug #1744386 reported by Elaine Hardy on 2018-01-19
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Evergreen
Medium
Cesar V

Bug Description

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

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.

Jane Sandberg (sandbej) 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.

Jane Sandberg (sandbej) wrote :

Screenshot from my branch

tags: added: pullrequest sorting
Remington Steed (rjs7) on 2018-06-15
Changed in evergreen:
status: New → Confirmed
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.

Elaine Hardy (ehardy) wrote :

It was about the order of stat cats in each dropdown

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) on 2019-03-07
Changed in evergreen:
milestone: none → 3.next
tags: added: cataloging
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
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) on 2019-04-15
Changed in evergreen:
importance: Undecided → Medium
Cesar V (cesardv) on 2019-04-15
Changed in evergreen:
assignee: nobody → Cesar V (cesardv)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers