From 192e7284aa7275f1b4e37bfd639bf317182bb5e2 Mon Sep 17 00:00:00 2001 From: Mnikolenko Productengine Date: Tue, 31 May 2022 15:51:56 +0300 Subject: SL-17471 FIXED Wrong category is chosen after searching via SLapp URL --- indra/newview/llfloatersearch.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'indra/newview') 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 -- cgit v1.2.3