As a researcher, I want to be able to decide whether I want all of my search terms to be present in a result (AND searching), or any of my search terms to be present in a result (OR searching).
Acceptance criteria
[ ] There is a user interface to select whether two fields should use "AND" vs "OR" searching
[ ] The search results align with the type of search selected
[ ] "Trustees Minutes, 1746-1894" allows users to select type of search for up to three subjects
[ ] "Princeton University Historical Photograph Collection" allows users to select type of search for up to three subjects
[ ] I can successfully use this feature with Voice Over in Safari.
[ ] I have checked this feature using one of the following browser extensions and confirmed that it does not add any level A or level AA issues:
axe dev tools
Lighthouse
Wave
[ ] ...
Concrete example
For the "Trustees Minutes", if I do an "AND" search for "bath" and "house", I should get results including
'Appropriation, to Com. on Bathhouse & c.'
'Bath & Wash House, $100 appropriated for experiments respecting'
The "AND" search should not include
'Finley Samuel, Takes baths Sept. 1761'
The "OR" search should include all three of the above.
User story
As a researcher, I want to be able to decide whether I want all of my search terms to be present in a result (AND searching), or any of my search terms to be present in a result (OR searching).
Acceptance criteria
Concrete example
For the "Trustees Minutes", if I do an "AND" search for "bath" and "house", I should get results including
The "AND" search should not include
The "OR" search should include all three of the above.
Implementation notes, if any
The current search defaults to "AND" searching. There is a skipped test right now for "OR" searching.