Changeset View
Changeset View
Standalone View
Standalone View
src/applications/releeph/query/ReleephRequestSearchEngine.php
| Show First 20 Lines • Show All 151 Lines • ▼ Show 20 Lines | return array( | ||||
| 'reverted' => ReleephRequestQuery::STATUS_REVERTED, | 'reverted' => ReleephRequestQuery::STATUS_REVERTED, | ||||
| ); | ); | ||||
| } | } | ||||
| private function getSeverityOptions() { | private function getSeverityOptions() { | ||||
| if (ReleephDefaultFieldSelector::isFacebook()) { | if (ReleephDefaultFieldSelector::isFacebook()) { | ||||
| return array( | return array( | ||||
| '' => pht('(All Severities)'), | '' => pht('(All Severities)'), | ||||
| 11 => 'HOTFIX', | 11 => pht('HOTFIX'), | ||||
| 12 => 'PIGGYBACK', | 12 => pht('PIGGYBACK'), | ||||
| 13 => 'RELEASE', | 13 => pht('RELEASE'), | ||||
| 14 => 'DAILY', | 14 => pht('DAILY'), | ||||
| 15 => 'PARKING', | 15 => pht('PARKING'), | ||||
| ); | ); | ||||
| } else { | } else { | ||||
| return array( | return array( | ||||
| '' => pht('(All Severities)'), | '' => pht('(All Severities)'), | ||||
| ReleephSeverityFieldSpecification::HOTFIX => pht('Hotfix'), | ReleephSeverityFieldSpecification::HOTFIX => pht('Hotfix'), | ||||
| ReleephSeverityFieldSpecification::RELEASE => pht('Release'), | ReleephSeverityFieldSpecification::RELEASE => pht('Release'), | ||||
| ); | ); | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||