about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/actions
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-03-30 00:43:38 +0100
committerThibaut Girka <thib@sitedethib.com>2019-03-30 12:56:34 +0100
commit59551ece31dede539d893e020c59a67b40f7ecdc (patch)
tree4cac3e979dcc5688df694407a0b42aa17913b971 /app/javascript/flavours/glitch/actions
parent4444d8f9b3fac33caf3d4732e5f6112c5321d6ea (diff)
[Glitch] Fix search in web UI not setting a limit, restore limit of 10
Port 379c3e237fd271b91073f4b4a4a1626e84a7250f to glitch-soc, but changing
the 5 limit to 10, since that's what we had previously
Diffstat (limited to 'app/javascript/flavours/glitch/actions')
-rw-r--r--app/javascript/flavours/glitch/actions/search.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/actions/search.js b/app/javascript/flavours/glitch/actions/search.js
index bc094eed5..b2d24e10b 100644
--- a/app/javascript/flavours/glitch/actions/search.js
+++ b/app/javascript/flavours/glitch/actions/search.js
@@ -37,6 +37,7 @@ export function submitSearch() {
       params: {
         q: value,
         resolve: true,
+        limit: 10,
       },
     }).then(response => {
       if (response.data.accounts) {