diff options
author | dartcafe <github@dartcafe.de> | 2022-01-18 11:48:17 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2022-01-18 11:48:17 +0300 |
commit | 7ea36a164c2589de98c73643ce4929229ebde92b (patch) | |
tree | b278511749cf3ddee919cc6289cbff450b7c0da9 /lib | |
parent | d42defe3dff3935ea26f8e5b6dc2dffd3d530893 (diff) |
smove polls results to top
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Provider/SearchProvider.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Provider/SearchProvider.php b/lib/Provider/SearchProvider.php index 7abe5108..e276b70a 100644 --- a/lib/Provider/SearchProvider.php +++ b/lib/Provider/SearchProvider.php @@ -91,7 +91,7 @@ class SearchProvider implements IProvider { } public function getOrder(string $route, array $routeParameters): int { - if ($route === 'polls.page.index') { + if (in_array(strtolower($route), ['polls.page.index', 'polls.page.vote'])) { return -5; } return 51; |