Parenthesize user-entered search term.

This seems to avoid some strange behavior for OR queries.
This commit is contained in:
Stephen Heumann 2019-04-19 17:15:32 -05:00
parent 7d6d432ff1
commit 36e9f1ab0d

View File

@ -76,7 +76,7 @@ void DoSearch(boolean getMore) {
asprintf(&searchURL,
"http://archive.org/advancedsearch.php?"
"q=emulator%%3A%s%%20%s"
"q=emulator%%3A%s%%20(%s)"
"&fl%%5B%%5D=identifier&fl%%5B%%5D=title"
"&fl%%5B%%5D=emulator_ext"
"&sort%%5B%%5D=titleSorter+asc"