Done
Details
Assignee
Michal KuklisMichal KuklisReporter
Charlotte WhittCharlotte WhittTester Assignee
Charlotte WhittCharlotte WhittPriority
P2Story Points
5Sprint
NoneDevelopment Team
ProkopovychFix versions
TestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Michal Kuklis
Michal KuklisReporter
Charlotte Whitt
Charlotte WhittTester Assignee
Charlotte Whitt
Charlotte WhittPriority
Story Points
5
Sprint
None
Development Team
Prokopovych
Fix versions
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created September 13, 2019 at 5:06 PM
Updated September 15, 2020 at 9:04 AM
Resolved November 13, 2019 at 12:01 PM
Purpose: Implement the possibility to do search by enter query language in the search box. The queries support combined search using e.g. boolean operators (AND, OR, NOT).
Usecase: catalogers experienced with the used query language (CQL) can do advanced searching within Inventory by using the query syntax.
Example on queries:
Search on Subject: History AND Contributors: named Rawson:
Query: (subjects="history" and contributors =/@name "Rawson") sortby title
Search on Subject: Art OR Contributors: named Rawson:
Query: (subjects="Art" or contributors =/@name "Rawson") sortby title
Search on Subject: Art NOT Contributors: named Rawson:
Query: (subjects="Art" not contributors =/@name "Rawson") sortby title
Search on Publisher named History Press AND publication year 1970:
Query: (publisher="History Press" and publicationDate="1970") sortby title
Search on Title with the word motor, and publication year 2016
(title="motor" AND publicationDate="2016") sortby title
See more documentation in: https://www.loc.gov/standards/sru/cql/contextSets/theCqlContextSet.html
Scenarios:
Scenario
Login to FOLIO Snapshot, go to Inventory
When in the 1 st pane, then in the search dropdown menu
There is a search term labeled: Query search (as the last listed term)
Scenario
When viewing the list of search terms in the drop down menu
Then the Query search is a the bottom of the list
Scenario
When selecting 'Query search'
Then enter the CQL query e.g.: (subjects="history" and contributors =/@name "Rawson") sortby title
The result will be: https://folio-snapshot.aws.indexdata.com/inventory/view/847635e2-6e2e-4a8b-846a-82828de8b870