Fix Twitter link for searches
This commit is contained in:
parent
548cb62ff2
commit
9ad458ae25
|
@ -136,7 +136,7 @@ proc getTwitterLink*(path: string; params: Table[string, string]): string =
|
||||||
return $(twitter / path ? filterParams(params))
|
return $(twitter / path ? filterParams(params))
|
||||||
|
|
||||||
let p = {
|
let p = {
|
||||||
"f": $query.kind,
|
"f": if query.kind == users: "user" else: "live",
|
||||||
"q": genQueryParam(query),
|
"q": genQueryParam(query),
|
||||||
"src": "typed_query"
|
"src": "typed_query"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue