summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2022-05-31 15:51:56 +0300
committerMnikolenko Productengine <mnikolenko@productengine.com>2022-05-31 15:51:56 +0300
commit192e7284aa7275f1b4e37bfd639bf317182bb5e2 (patch)
treedaa2fc9018ee2867723bb0d9944e8adfa7a0a600
parentdd2fe2687ce58c6f6ebf16b2d66ae797022076f6 (diff)
SL-17471 FIXED Wrong category is chosen after searching via SLapp URL
-rw-r--r--indra/newview/llfloatersearch.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llfloatersearch.cpp b/indra/newview/llfloatersearch.cpp
index a3c9d3e8bf..bb3ed77772 100644
--- a/indra/newview/llfloatersearch.cpp
+++ b/indra/newview/llfloatersearch.cpp
@@ -57,10 +57,10 @@ public:
const size_t parts = tokens.size();
// get the (optional) category for the search
- std::string category;
+ std::string collection;
if (parts > 0)
{
- category = tokens[0].asString();
+ collection = tokens[0].asString();
}
// get the (optional) search string
@@ -72,7 +72,7 @@ public:
// create the LLSD arguments for the search floater
LLFloaterSearch::Params p;
- p.search.category = category;
+ p.search.collection = collection;
p.search.query = LLURI::unescape(search_text);
// open the search floater and perform the requested search