Open macfarlandian opened 10 years ago
Update: it is currently still the case that only the Metadata Profile API endpoint can handle these queries (i.e., those sent by "In Current Tab" option from the UI)
For now we contextually disable that UI element, but a better solution would be to handle the queries consistently and create clear AND / OR query options.
Requires some UX work before implementation.
Some early ideas:
using a separate search field to create comparison queries
a bucket of "active queries" that can be combined or compared
in PHP, see grammaticalsearch/get-search-results.php, lines 16 & 194 - there is no provision made for retrieving more than 1 item from the search array, it just fails to run a query if there is more than one.
it shouldn't.
other widget endpoints (eg, word frequencies) accept multiple search items, so look there for guidance.
Related JS issue: https://github.com/Wordseer/wordseer_extjs/issues/37