Changeset View
Changeset View
Standalone View
Standalone View
src/applications/badges/query/PhabricatorBadgesQuery.php
Show First 20 Lines • Show All 71 Lines • ▼ Show 20 Lines | if ($this->statuses !== null) { | ||||
'badges.status IN (%Ls)', | 'badges.status IN (%Ls)', | ||||
$this->statuses); | $this->statuses); | ||||
} | } | ||||
return $where; | return $where; | ||||
} | } | ||||
public function getQueryApplicationClass() { | public function getQueryApplicationClass() { | ||||
return 'PhabricatorBadgesApplication'; | return PhabricatorBadgesApplication::class; | ||||
} | } | ||||
public function getBuiltinOrders() { | public function getBuiltinOrders() { | ||||
return array( | return array( | ||||
'quality' => array( | 'quality' => array( | ||||
'vector' => array('quality', 'id'), | 'vector' => array('quality', 'id'), | ||||
'name' => pht('Rarity (Rarest First)'), | 'name' => pht('Rarity (Rarest First)'), | ||||
), | ), | ||||
Show All 27 Lines |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0