Skip to content
Snippets Groups Projects
Unverified Commit 379c3e23 authored by Eugen Rochko's avatar Eugen Rochko Committed by GitHub
Browse files

Fix search in web UI not setting a limit, restore limit of 5 (#10421)

The search API now supports returning more results and pagination,
but until the web UI implements pagination, it makes no sense to
dump so many results at once. This fix restores the behaviour
before the API change
parent bd02ec6d
No related branches found
No related tags found
No related merge requests found
......@@ -37,6 +37,7 @@ export function submitSearch() {
params: {
q: value,
resolve: true,
limit: 5,
},
}).then(response => {
if (response.data.accounts) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment