diff options
author | Thibaut Girka <thib@sitedethib.com> | 2018-08-20 11:29:42 +0200 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2018-08-22 19:27:06 +0200 |
commit | 801919fc9b7ab12ca6652b03cce027224df59718 (patch) | |
tree | 79b9dd4e50faa8efd4d974dd559049b73337d1f1 /app/javascript/flavours/glitch/actions | |
parent | 360fbf1bd430ae43f28444b41e01d305c85c4935 (diff) |
Add hashtag trendline support to glitch-soc flavour
Port Mastodon's hashtag stats thing to glitch-soc. This doesn't change how hashtags are ordered, and doesn't add a trending hashtags section, but it does change how hashtag searches are rendered, displaying a trend line alongside each hashtag.
Diffstat (limited to 'app/javascript/flavours/glitch/actions')
-rw-r--r-- | app/javascript/flavours/glitch/actions/search.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/actions/search.js b/app/javascript/flavours/glitch/actions/search.js index 13885c600..ec65bdf28 100644 --- a/app/javascript/flavours/glitch/actions/search.js +++ b/app/javascript/flavours/glitch/actions/search.js @@ -32,7 +32,7 @@ export function submitSearch() { dispatch(fetchSearchRequest()); - api(getState).get('/api/v1/search', { + api(getState).get('/api/v2/search', { params: { q: value, resolve: true, |