Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Field queries with empty text in advanced search produce multiple results #133

Open
amir-zeldes opened this issue Aug 10, 2020 · 1 comment

Comments

@amir-zeldes
Copy link
Member

if no text is specified, but a field is selected, matches are listed under multiple rubrics, e.g.:

http://data.copticscriptorium.org/search?text=&translation=Anthony+Alcock

image

@amir-zeldes
Copy link
Member Author

Comment from @lgessler

it looks like we missed this corner case (special metadatum chosen and no freetext supplied) while we were testing. Probably the sensible thing to do here is to short-circuit the freetext matching logic in case it's empty

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant