mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Profiler/ArenaTeams
* filter unused teams explicitly by played game count instead of implicitly by rating
This commit is contained in:
@@ -73,7 +73,7 @@ class ArenaTeamsPage extends GenericPage
|
|||||||
|
|
||||||
$conditions = [];
|
$conditions = [];
|
||||||
if (!User::isInGroup(U_GROUP_EMPLOYEE))
|
if (!User::isInGroup(U_GROUP_EMPLOYEE))
|
||||||
$conditions[] = ['at.rating', 1000, '>'];
|
$conditions[] = ['at.seasonGames', 0, '>'];
|
||||||
|
|
||||||
if ($_ = $this->filterObj->getConditions())
|
if ($_ = $this->filterObj->getConditions())
|
||||||
$conditions[] = $_;
|
$conditions[] = $_;
|
||||||
|
|||||||
Reference in New Issue
Block a user