summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2013-05-17 13:38:52 -0700
committerMerov Linden <merov@lindenlab.com>2013-05-17 13:38:52 -0700
commit7ba7f6d3c2db80e412e5658a5c6ce8755b75997b (patch)
tree66bef761300a9d66c777eec7443c37d5c39133bc /indra/newview
parentdd8295ab07fec9899e171a4f2ceb1298329ef7b5 (diff)
ACME-275 : Fixed! Use Name and Suffix for person name for filtering and search
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llpersonmodelcommon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llpersonmodelcommon.cpp b/indra/newview/llpersonmodelcommon.cpp
index e48eddf05a..73239dcb8d 100644
--- a/indra/newview/llpersonmodelcommon.cpp
+++ b/indra/newview/llpersonmodelcommon.cpp
@@ -71,7 +71,7 @@ LLPersonModelCommon::~LLPersonModelCommon()
BOOL LLPersonModelCommon::renameItem(const std::string& new_name)
{
mName = new_name;
- mSearchableName = new_name;
+ mSearchableName = new_name + " " + mLabelSuffix;
LLStringUtil::toUpper(mSearchableName);
return TRUE;
}