fix sort by rank
Signed-off-by: dartcafe <github@dartcafe.de>
This commit is contained in:
Родитель
9ceb4d7c28
Коммит
272a24c688
|
@ -121,7 +121,9 @@ class OptionService {
|
|||
if ($this->acl->getPoll()->getHideBookedUp() && !$this->acl->getIsAllowed(Acl::PERMISSION_POLL_EDIT)) {
|
||||
// hide booked up options except the user has edit permission
|
||||
$this->filterBookedUp();
|
||||
} elseif ($this->acl->getIsAllowed(Acl::PERMISSION_POLL_RESULTS_VIEW)) {
|
||||
}
|
||||
|
||||
if ($this->acl->getIsAllowed(Acl::PERMISSION_POLL_RESULTS_VIEW)) {
|
||||
$this->calculateRanks();
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче