Fix ordering of search result

This commit is contained in:
Björn Fromme
2018-09-13 21:13:25 +02:00
parent 3f858bb1b5
commit 281552ef80
@@ -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);
}
}