Feature Request: Parse periods in query as spaces in legacy people search

This commit is contained in:
Inusaito Sayori
2013-08-14 21:00:10 -04:00
parent c07646ff38
commit e21a631b87

View File

@@ -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();