mark hash queries for V2 results

This commit is contained in:
Zlatin Balevsky
2019-06-16 13:17:32 +01:00
parent 3160c1a8f3
commit 7833a83c87

View File

@ -62,7 +62,7 @@ class MainFrameController {
def searchEvent
if (hashSearch) {
searchEvent = new SearchEvent(searchHash : root, uuid : uuid)
searchEvent = new SearchEvent(searchHash : root, uuid : uuid, oobInfohash: true)
} else {
// this can be improved a lot
def replaced = search.toLowerCase().trim().replaceAll(Constants.SPLIT_PATTERN, " ")