Manage authorities list in web client display in random order

Bug #1749296 reported by Janet Schrader
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Confirmed
Medium
Unassigned

Bug Description

Searching Manage Authorities in the web client, search term not always on first page, list displays in random order, authority records with term as subdivision display in list. I attached screenshots of my searches.

Web client 3.0.3, Chrome browser 63.0.3239 64 bit

Examples:
Subject search for Christianity, term displays on second page (p.1 as list starts at p.0):
Christianity $z Germany
Christianity $v Controversial literature
Christianity
Christianity $z Great Britain
Christianity $v Terminology
Christianity $z South Africa

Subject search for music, term displays on first page, list not in alphabetical order and authority records with subdivision music appear in list:
Music $v Dictionaries, Juvenile
Music
Music $z Vietnam
Music $z Islamic countries
Music $v Lead sheets
Mexican Americans $v Music
Music $z Germany
Music $z Afghanistan
Hasidim $v Music

Web client 3.0.3, Chrome browser 63.0.3239 64 bit

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

This appears to be happening on master right now too with the concerto data set. Janet, it's only happening when I look at Subject authorities, not when I look at name authorities. Is it the same for you?

Changed in evergreen:
status: New → Confirmed
importance: Undecided → Medium
tags: added: authority
tags: added: webstaffclient
tags: added: sorting
Revision history for this message
Jane Sandberg (sandbergja) wrote :

I'm going to try to work on this. It will involve a lot of learning for me, so I definitely won't be very quick. If somebody else might be able to take care of this more quickly, I'm very happy to defer.

Changed in evergreen:
assignee: nobody → Jane Sandberg (sandbej)
Revision history for this message
Jane Sandberg (sandbergja) wrote :

I am unassigning myself, because this turned out to be too advanced for me at this time.

Here is what I learned, in case it is helpful for the next person to work on this:
* The Manage authorities screen gets its data not from OpenSRF directly, but from supercat [1]. This extra layer made troubleshooting the sorting issue difficult for me.
* There is a field in authority.simple_heading called sort_value, which would be very helpful in getting authority headings to display in the correct order. However, we can't just replace the Supercat call with a PCRUD or CSTORE call, because the IDL doesn't allow it [2].

Hopefully this issue can be addressed when this dojo interface is re-implemented in Angular (and this interface hopefully turns into an eg-grid).

[1] See https://github.com/evergreen-library-system/Evergreen/blob/6afe826f3f7ea127fc44c4aadb345ce509c965ef/Open-ILS/web/js/ui/default/cat/authority/list.js#L400
[2] See https://bugs.launchpad.net/evergreen/+bug/1775049

Changed in evergreen:
assignee: Jane Sandberg (sandbej) → nobody
tags: removed: webstaffclient
Elaine Hardy (ehardy)
tags: added: cat-authority
removed: authority
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.