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
This commit is contained in:
parent
bd02ec6daa
commit
379c3e237f
|
@ -37,6 +37,7 @@ export function submitSearch() {
|
||||||
params: {
|
params: {
|
||||||
q: value,
|
q: value,
|
||||||
resolve: true,
|
resolve: true,
|
||||||
|
limit: 5,
|
||||||
},
|
},
|
||||||
}).then(response => {
|
}).then(response => {
|
||||||
if (response.data.accounts) {
|
if (response.data.accounts) {
|
||||||
|
|
Loading…
Reference in a new issue