Cannot add opening parenthesis to search query via global search box with Chrome and IE
|Assignee:||Dan Gillean||% Done:|
|Category:||Search / Browse|
|Target version:||Release 2.3.0|
|Google Code Legacy ID:||Tested version:||2.2, 2.3|
According to our own documentation using parentheses in the search box should be possible for constructing boolean queries - from the docs:
Used to group search clauses. This can be useful if you want to control the precedence of boolean operators for a query, e.g. (coffee NOT tea) OR cream will return different results than coffee NOT (tea OR cream). Without grouping, by default in Elasticsearch, NOT takes precedence over AND, which takes precedence over OR.
However, trying to write an opening parenthesis "(" in the search does not work when tested in both AtoM 2.2 and 2.3, using IE 11 and Chrome 45. Tested with Firefox 40 and it works for me in both versions.
I noticed in 2.3, where the accessibility keyboard nav has been added, that when trying to type the opening parenthesis, AtoM will instead toggle down to the next option (e.g. the Advanced search, or the radio buttons for global vs institution-specific search). It almost seems as if the ( is being interpreted like the arrow keys or something?