Fix ordering of search result
This commit is contained in:
1 parent
3f858bb1b5
commit
281552ef80
1 file changed
+4
-1
@@ -191,6 +191,9 @@ class SearchResultService implements SingletonInterface
|
||||
});
|
||||
}
|
||||
|
||||
return new SearchResult($data, $total);
|
||||
// Turn result data into simple array to ensure order in js
|
||||
$result = array_values($data);
|
||||
|
||||
return new SearchResult($result, $total);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user