mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix search menus
This commit is contained in:
parent
5516424502
commit
0b47adfaee
1 changed files with 7 additions and 1 deletions
|
@ -3056,7 +3056,13 @@
|
||||||
|
|
||||||
var url = self.getUrl("Search/Hints", options);
|
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;
|
||||||
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue