diff options
author | Martin Reddy <lynx@lindenlab.com> | 2009-10-20 14:07:50 +0000 |
---|---|---|
committer | Martin Reddy <lynx@lindenlab.com> | 2009-10-20 14:07:50 +0000 |
commit | eb620735fc27d5f4fe21b52deceaec2818fea27d (patch) | |
tree | 07c068436dc31ce970517c4f49104be6a32ed95a /indra/newview/llworldmapview.cpp | |
parent | 2180706f4cb5e8f5ba24b3973a25a50c6176be38 (diff) |
DEV-41358: Added support for search categories.
You can now specify a search category for all web-based searches,
e.g., "all" (default), "people", "places", "events", "groups", "wiki",
"destinations", "classifieds". Specifying a category will add the
relevant subdir to the search URL, as specified by the search team.
Diffstat (limited to 'indra/newview/llworldmapview.cpp')
-rw-r--r-- | indra/newview/llworldmapview.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llworldmapview.cpp b/indra/newview/llworldmapview.cpp index 5446a08ebf..3aad5c7378 100644 --- a/indra/newview/llworldmapview.cpp +++ b/indra/newview/llworldmapview.cpp @@ -1897,20 +1897,20 @@ BOOL LLWorldMapView::handleDoubleClick( S32 x, S32 y, MASK mask ) id.toString(uuid_str); uuid_str = uuid_str.substr(28); sscanf(uuid_str.c_str(), "%X", &event_id); - LLFloaterReg::showInstance("search", LLSD().insert("panel", "event").insert("id", event_id)); + LLFloaterReg::showInstance("search", LLSD().insert("category", "events").insert("id", event_id)); break; } case MAP_ITEM_LAND_FOR_SALE: case MAP_ITEM_LAND_FOR_SALE_ADULT: { LLFloaterReg::hideInstance("world_map"); - LLFloaterReg::showInstance("search", LLSD().insert("panel", "land").insert("id", id)); + LLFloaterReg::showInstance("search", LLSD().insert("category", "destinations").insert("id", id)); break; } case MAP_ITEM_CLASSIFIED: { LLFloaterReg::hideInstance("world_map"); - LLFloaterReg::showInstance("search", LLSD().insert("panel", "classified").insert("id", id)); + LLFloaterReg::showInstance("search", LLSD().insert("category", "classifieds").insert("id", id)); break; } default: |