quick search: "Users" to "Account Home", Users in top (fix)
This commit is contained in:
parent
a1a212f0ed
commit
9832131b0d
2 changed files with 5 additions and 3 deletions
|
@ -101,7 +101,8 @@ namespace WebsitePanel.WebPortal
|
||||||
obj["TextSearch"] = row["PackageName"].ToString();
|
obj["TextSearch"] = row["PackageName"].ToString();
|
||||||
obj["ItemID"] = row["ItemID"].ToString();
|
obj["ItemID"] = row["ItemID"].ToString();
|
||||||
obj["PackageID"] = row["PackageID"].ToString();
|
obj["PackageID"] = row["PackageID"].ToString();
|
||||||
obj["FullType"] = GetTypeDisplayName("Space");
|
obj["FullType"] = "Space";
|
||||||
|
obj["FullTypeLocalized"] = GetTypeDisplayName("Space");
|
||||||
obj["AccountID"] = row["AccountID"].ToString();
|
obj["AccountID"] = row["AccountID"].ToString();
|
||||||
dataList.Add(obj);
|
dataList.Add(obj);
|
||||||
}
|
}
|
||||||
|
@ -127,7 +128,8 @@ namespace WebsitePanel.WebPortal
|
||||||
obj["TextSearch"] = row["TextSearch"].ToString();
|
obj["TextSearch"] = row["TextSearch"].ToString();
|
||||||
obj["ItemID"] = row["ItemID"].ToString();
|
obj["ItemID"] = row["ItemID"].ToString();
|
||||||
obj["PackageID"] = row["PackageID"].ToString();
|
obj["PackageID"] = row["PackageID"].ToString();
|
||||||
obj["FullType"] = GetTypeDisplayName(type);
|
obj["FullType"] = type;
|
||||||
|
obj["FullTypeLocalized"] = GetTypeDisplayName(type);
|
||||||
obj["AccountID"] = row["AccountID"].ToString();
|
obj["AccountID"] = row["AccountID"].ToString();
|
||||||
if (String.Equals(type, "Users"))
|
if (String.Equals(type, "Users"))
|
||||||
dataList.Insert(currUser++, obj);
|
dataList.Insert(currUser++, obj);
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
{
|
{
|
||||||
response($.map(data, function (item) {
|
response($.map(data, function (item) {
|
||||||
return {
|
return {
|
||||||
label: item.TextSearch + " [" + item.FullType + "]",
|
label: item.TextSearch + " [" + item.FullTypeLocalized + "]",
|
||||||
code: item
|
code: item
|
||||||
};
|
};
|
||||||
}));
|
}));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue