1
0
Fork 0
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:
Chad Little 2016-09-08 20:58:39 -07:00
parent 05628de90d
commit fe9f16ad0d

View file

@ -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;
} }