Title Search. Dropdown with the field to search in

Description

Purpose: When searching in the Codex Search app, search criteria is presented in a drop down menu (alternative: for alpha this list can also be chosen to be implemented as a filter). The drop down menu will have different search criteria available depending on which target source is selected: All (Local and KB)/Local/KB. The active search criteria is white and selectable, the non active will be grey'ed out, and are not selectable.

Scenarios
1. When in the Codex Search app, and the user has selected 'Local'

  • Following search criteria is presented for the user. All criteria are active, and selectable

    • All = default

    • ID

    • Title

    • Identifier

    • ISBN

    • ISSN

    • Contributor

    • Subject

    • Classification

    • Publisher

2. When in the Codex Search app, and the user has selected 'KB'

  • Following search criteria is presented for the user. Criteria which are active, and selectable are 'white', and the ones not selectable are 'grey'ed out'

  • The list will be:

    • All [grey]

    • ID

    • Title

    • Identifier [grey]

    • ISBN

    • ISSN

    • Contributor [grey]

    • Subject [grey]

    • Classification [grey]

    • Publisher

3. When in the Codex Search app, and the user has selected 'Local and KB'

  • following search criteria is presented for the user. Criteria which are active, and selectable are 'white', and the ones not selectable are 'grey'ed out'

  • The list will be:

    • All [grey]

    • ID

    • Title

    • Identifier [grey]

    • ISBN

    • ISSN

    • Contributor [grey]

    • Subject [grey]

    • Classification [grey]

    • Publisher

Environment

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:

Mike Taylor December 30, 2017 at 2:27 PM

Now successfully changing the list of available indexes based on which targets are selected.

(Though the specific selections are presently all wrong.)

Mike Taylor December 30, 2017 at 1:17 PM

I did https://folio-org.atlassian.net/browse/STCOM-172#icft=STCOM-172 last night, so the generated query now honours the selected index.

Next up will be varying the set of selectable indexes based on which target types are selected.

Also, it would be nice if we could show the UNavailable indexes, greyed out. I will file a new stripes-components issue for upgrading <Select> to handle that.

Mike Taylor December 29, 2017 at 11:48 PM

Some progress on this, with https://folio-org.atlassian.net/browse/STSMACOM-41#icft=STSMACOM-41 and https://folio-org.atlassian.net/browse/STCOM-171#icft=STCOM-171 more or less done. Next up will be making the creation of the query take this into account.

Mike Taylor December 29, 2017 at 11:24 PM

I am interpreting this issue as representing the underlying functionality that is going to be needed for https://folio-org.atlassian.net/browse/UISE-31#icft=UISE-31, https://folio-org.atlassian.net/browse/UISE-32#icft=UISE-32 and https://folio-org.atlassian.net/browse/UISE-33#icft=UISE-33, so I made this a blocker for those.

Done

Details

Assignee

Reporter

Priority

Fix versions

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created December 29, 2017 at 3:37 PM
Updated January 4, 2018 at 10:23 AM
Resolved December 30, 2017 at 2:27 PM
TestRail: Cases
TestRail: Runs

Flag notifications