diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-11-12 14:49:28 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-11-12 14:49:28 +0100 |
commit | afded319d2558369a025b1f3335cebacc9819881 (patch) | |
tree | 2e5c0cae17213c46faff3e25a07922338d0f1ce1 /app/assets | |
parent | 09218d4c0152013750dd1c127d3c8267dc45f880 (diff) |
Add limit to search results
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/javascripts/components/actions/compose.jsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/javascripts/components/actions/compose.jsx b/app/assets/javascripts/components/actions/compose.jsx index c9be895f1..b77a9c727 100644 --- a/app/assets/javascripts/components/actions/compose.jsx +++ b/app/assets/javascripts/components/actions/compose.jsx @@ -148,7 +148,8 @@ export function fetchComposeSuggestions(token) { api(getState).get('/api/v1/accounts/search', { params: { q: token, - resolve: false + resolve: false, + limit: 4 } }).then(response => { dispatch(readyComposeSuggestions(token, response.data)); |