Results List: Title Sort Options

Priority

Environment

None

Template

None

Description

As an electronic resource librarian
I want the ability to sort my title results
So that I can view my results in the manner I need

Title Search Sort Options

  • Relevance (default)

  • Title (when selected sort is A > Z)

Requirement:

  • Sort selection is sticky per search toggle.

  • Must provide ability to reset sort to default

Screenshot

Acceptance Criteria

Given I am conducting a title search

When results return
Then the results are sorted based on current sort option selection

Given I have already conducted a title search
When I change the sort option selection
Then the results automatically sort based on current selection

Given I have changed the sort selection on title results
When I conduct a new title search
Then the sort selection should not change (IOW reset to default selection)
AND results are sorted by current sort selection

Development Team

Release

Story Points

Sprint

Attachments

2

Checklist

hide

TestRail: Results

Activity

Show:

Carole Godfrey October 4, 2018 at 7:50 PM
Edited

– as added information – title search form is a shared component in UI eholdings – if we add sort as filter this will also be available for searching for titles within a package – per this image

Related test for searching for titles within a package
https://github.com/folio-org/ui-eholdings/blob/master/test/bigtest/tests/package-show-titles-search-test.js

In addition to title search tests
https://github.com/folio-org/ui-eholdings/blob/master/test/bigtest/tests/title-search-test.js

Carole Godfrey October 4, 2018 at 6:57 PM

Verified earlier issues with title search results from HoldingsIQ (when sorted by titlename) have been resolved:
(1) result count for name sort vs relevance sort are equal
(2) sorted results are in expected order

Carole Godfrey March 6, 2018 at 2:34 PM

Back end changes to support sorting have been implemented https://github.com/folio-org/mod-kb-ebsco/pull/79
Unit Tests are limited due to issues found with title count and sort order

Khalilah Gambrell March 5, 2018 at 7:37 PM
Edited

Awaiting RM API responses on count and sort inconsistencies

Khalilah Gambrell March 2, 2018 at 12:29 AM

and - I just remembered this additional requirement. I will add it as another user story. But want you guys to beaware

Given I conduct a title search for journal
When the sort is title
AND more than 10,000 results return
AND RM API cannot provide an exact total results count
Then the total results on the preview pane should read More than 10,000 search results

Done

Details

Assignee

Reporter

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created January 10, 2018 at 9:27 PM
Updated October 26, 2018 at 12:57 PM
Resolved October 26, 2018 at 12:57 PM
TestRail: Cases
TestRail: Runs