As an electronic resource librarian I want to be able to filter to the package(s) that I want to select the title that I am on.
Requirement
On Title Record display a magnifying glass on the Package accordion
When user clicks on the magnifying glass display a modal that allows the user to
Filter to package(s) that are associated to the title you are viewing
Acceptance Criteria
Given I am on a title record [Journal of Fish Biology] When I click on the magnifying glass Then show the Package modal
Given I am on the Search within packages modal When I select from the package filter [Wiley Online Library Full Collection 2020] Then one package should return AND Records found = 2 Badge should display on the far right of the Packages accordion Badge number should be 1
Given I am on the Search within packages modal When I select from the package filter [Wiley Online Library Backfiles] and [Wiley Online Library Full Collection 2020] Then two packages should return AND Records found = 2 Badge should display on the far right of the Packages accordion Badge number should be 1
and , I am testing the implementation on https://folio-snapshot.dev.folio.org/. There is something about the UX behavior that does not seem right. At tomorrow's standup, I will present to you both.
Denys Bohdan August 12, 2020 at 11:15 AM
Hi , I've looked at the requests on the Title record page - and the list of packages that is displayed on the screenshot is actually received as additional information with title data, and this request (/eholdings/titles/:id?include=resources) doesn't support filtering packages ( please correct me if I'm wrong). Also, there's no endpoint described in API documentation that would return a filterable list of packages a title is added to, so we'll need some back-end effort to support this functionality.
As an electronic resource librarian
I want to be able to filter to the package(s) that I want to select the title that I am on.
Requirement
On Title Record display a magnifying glass on the Package accordion
When user clicks on the magnifying glass display a modal that allows the user to
Filter to package(s) that are associated to the title you are viewing
Acceptance Criteria
Given I am on a title record [Journal of Fish Biology]
When I click on the magnifying glass
Then show the Package modal
Given I am on the Search within packages modal
When I select from the package filter [Wiley Online Library Full Collection 2020]
Then one package should return
AND Records found = 2
Badge should display on the far right of the Packages accordion
Badge number should be 1
Given I am on the Search within packages modal
When I select from the package filter [Wiley Online Library Backfiles] and [Wiley Online Library Full Collection 2020]
Then two packages should return
AND Records found = 2
Badge should display on the far right of the Packages accordion
Badge number should be 1