Commit bddec2f6 authored by Randall Leeds's avatar Randall Leeds

Allow specifying the domain of a user search facet

parent 40444ca7
......@@ -165,7 +165,10 @@ class QueryParser
rules:
user:
formatter: (user) ->
if user.indexOf('acct:') != 0
'acct:' + user + '@' + window.location.hostname
else
user
path: '/user'
exact_match: true
case_sensitive: false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment