fix search menus

This commit is contained in:
Luke Pulverenti 2016-08-04 01:00:39 -04:00
parent 5516424502
commit 0b47adfaee

View File

@ -3056,7 +3056,13 @@
var url = self.getUrl("Search/Hints", options);
return self.getJSON(url);
return self.getJSON(url).then(function (result) {
var serverId = self.serverId();
result.SearchHints.forEach(function (i) {
i.ServerId = serverId;
});
return result;
});
};
/**