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 "llpaneldirpeople.h"
|
||||
#include "llviewerwindow.h"
|
||||
#include "llnotificationsutil.h"
|
||||
|
||||
// linden library includes
|
||||
#include "message.h"
|
||||
|
||||
// viewer project includes
|
||||
#include "llqueryflags.h"
|
||||
|
||||
@@ -90,7 +86,10 @@ void LLPanelDirPeople::performQuery()
|
||||
{
|
||||
LLNotificationsUtil::add("SeachFilteredOnShortWordsEmpty");
|
||||
return;
|
||||
};
|
||||
}
|
||||
|
||||
// Allow searching for Account Name from account.name
|
||||
LLStringUtil::replaceChar(query_string, '.', ' ');
|
||||
|
||||
// if we filtered something out, display a popup
|
||||
if ( query_was_filtered )
|
||||
@@ -98,7 +97,7 @@ void LLPanelDirPeople::performQuery()
|
||||
LLSD args;
|
||||
args["FINALQUERY"] = query_string;
|
||||
LLNotificationsUtil::add("SeachFilteredOnShortWords", args);
|
||||
};
|
||||
}
|
||||
|
||||
setupNewSearch();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user