mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-19 03:50:54 +01:00
Default Conpherence Room Search to All Rooms
Summary: Just changes the default here. Main reasoning is if I'm searching for a room, show me all of them first. "My Rooms" is where I just came from. Test Plan: Click Search in Conpherence, see All Rooms as default. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D16527
This commit is contained in:
parent
05628de90d
commit
fe9f16ad0d
1 changed files with 2 additions and 2 deletions
|
@ -58,12 +58,12 @@ final class ConpherenceThreadSearchEngine
|
||||||
protected function getBuiltinQueryNames() {
|
protected function getBuiltinQueryNames() {
|
||||||
$names = array();
|
$names = array();
|
||||||
|
|
||||||
|
$names['all'] = pht('All Rooms');
|
||||||
|
|
||||||
if ($this->requireViewer()->isLoggedIn()) {
|
if ($this->requireViewer()->isLoggedIn()) {
|
||||||
$names['participant'] = pht('Joined Rooms');
|
$names['participant'] = pht('Joined Rooms');
|
||||||
}
|
}
|
||||||
|
|
||||||
$names['all'] = pht('All Rooms');
|
|
||||||
|
|
||||||
return $names;
|
return $names;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue