Feature Request: Parse periods in query as spaces in legacy people search
This commit is contained in:
@@ -33,12 +33,8 @@
|
|||||||
#include "llviewerprecompiledheaders.h"
|
#include "llviewerprecompiledheaders.h"
|
||||||
|
|
||||||
#include "llpaneldirpeople.h"
|
#include "llpaneldirpeople.h"
|
||||||
#include "llviewerwindow.h"
|
|
||||||
#include "llnotificationsutil.h"
|
#include "llnotificationsutil.h"
|
||||||
|
|
||||||
// linden library includes
|
|
||||||
#include "message.h"
|
|
||||||
|
|
||||||
// viewer project includes
|
// viewer project includes
|
||||||
#include "llqueryflags.h"
|
#include "llqueryflags.h"
|
||||||
|
|
||||||
@@ -90,7 +86,10 @@ void LLPanelDirPeople::performQuery()
|
|||||||
{
|
{
|
||||||
LLNotificationsUtil::add("SeachFilteredOnShortWordsEmpty");
|
LLNotificationsUtil::add("SeachFilteredOnShortWordsEmpty");
|
||||||
return;
|
return;
|
||||||
};
|
}
|
||||||
|
|
||||||
|
// Allow searching for Account Name from account.name
|
||||||
|
LLStringUtil::replaceChar(query_string, '.', ' ');
|
||||||
|
|
||||||
// if we filtered something out, display a popup
|
// if we filtered something out, display a popup
|
||||||
if ( query_was_filtered )
|
if ( query_was_filtered )
|
||||||
@@ -98,7 +97,7 @@ void LLPanelDirPeople::performQuery()
|
|||||||
LLSD args;
|
LLSD args;
|
||||||
args["FINALQUERY"] = query_string;
|
args["FINALQUERY"] = query_string;
|
||||||
LLNotificationsUtil::add("SeachFilteredOnShortWords", args);
|
LLNotificationsUtil::add("SeachFilteredOnShortWords", args);
|
||||||
};
|
}
|
||||||
|
|
||||||
setupNewSearch();
|
setupNewSearch();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user