Fix wrong search links
This commit is contained in:
parent
7d7eb085ca
commit
53c6247d8b
2 changed files with 7 additions and 5 deletions
|
@ -26,11 +26,13 @@ proc initQuery*(pms: Table[string, string]; name=""): Query =
|
|||
result = Query(
|
||||
kind: parseEnum[QueryKind](@"kind", custom),
|
||||
text: @"text",
|
||||
fromUser: @[name],
|
||||
filters: validFilters.filterIt("f-" & it in pms),
|
||||
excludes: validFilters.filterIt("e-" & it in pms),
|
||||
)
|
||||
|
||||
if name.len > 0:
|
||||
result.fromUser = name.split(",")
|
||||
|
||||
if @"e-nativeretweets".len == 0:
|
||||
result.includes.add "nativeretweets"
|
||||
|
||||
|
|
Loading…
Reference in a new issue