]> cat aescling's git repositories - mastodon.git/commitdiff
[Glitch] Fix search in web UI not setting a limit, restore limit of 10
authorEugen Rochko <eugen@zeonfederated.com>
Fri, 29 Mar 2019 23:43:38 +0000 (00:43 +0100)
committerThibaut Girka <thib@sitedethib.com>
Sat, 30 Mar 2019 11:56:34 +0000 (12:56 +0100)
Port 379c3e237fd271b91073f4b4a4a1626e84a7250f to glitch-soc, but changing
the 5 limit to 10, since that's what we had previously

app/javascript/flavours/glitch/actions/search.js

index bc094eed5cc812d4f5883493b39bf5b33f04c057..b2d24e10b4c3372623549c0e4b2885da7a2eb8c2 100644 (file)
@@ -37,6 +37,7 @@ export function submitSearch() {
       params: {
         q: value,
         resolve: true,
+        limit: 10,
       },
     }).then(response => {
       if (response.data.accounts) {