mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-22 01:06:03 +03:00
WebUI: Add 'Engine' column to Search table
This PR adds 'Engine' column to Search table. I also fixed inconsistent naming and renamed 'Search engine' column to 'Engine URL'. PR #21397.
This commit is contained in:
parent
cebaedf485
commit
449ca96e28
2 changed files with 3 additions and 1 deletions
|
@ -1728,7 +1728,8 @@ window.qBittorrent.DynamicTable ??= (() => {
|
||||||
this.newColumn("fileSize", "", "QBT_TR(Size)QBT_TR[CONTEXT=SearchResultsTable]", 100, true);
|
this.newColumn("fileSize", "", "QBT_TR(Size)QBT_TR[CONTEXT=SearchResultsTable]", 100, true);
|
||||||
this.newColumn("nbSeeders", "", "QBT_TR(Seeders)QBT_TR[CONTEXT=SearchResultsTable]", 100, true);
|
this.newColumn("nbSeeders", "", "QBT_TR(Seeders)QBT_TR[CONTEXT=SearchResultsTable]", 100, true);
|
||||||
this.newColumn("nbLeechers", "", "QBT_TR(Leechers)QBT_TR[CONTEXT=SearchResultsTable]", 100, true);
|
this.newColumn("nbLeechers", "", "QBT_TR(Leechers)QBT_TR[CONTEXT=SearchResultsTable]", 100, true);
|
||||||
this.newColumn("siteUrl", "", "QBT_TR(Search engine)QBT_TR[CONTEXT=SearchResultsTable]", 250, true);
|
this.newColumn("engineName", "", "QBT_TR(Engine)QBT_TR[CONTEXT=SearchResultsTable]", 100, true);
|
||||||
|
this.newColumn("siteUrl", "", "QBT_TR(Engine URL)QBT_TR[CONTEXT=SearchResultsTable]", 250, true);
|
||||||
this.newColumn("pubDate", "", "QBT_TR(Published On)QBT_TR[CONTEXT=SearchResultsTable]", 200, true);
|
this.newColumn("pubDate", "", "QBT_TR(Published On)QBT_TR[CONTEXT=SearchResultsTable]", 200, true);
|
||||||
|
|
||||||
this.initColumnsFunctions();
|
this.initColumnsFunctions();
|
||||||
|
|
|
@ -818,6 +818,7 @@ window.qBittorrent.Search ??= (() => {
|
||||||
fileUrl: result.fileUrl,
|
fileUrl: result.fileUrl,
|
||||||
nbLeechers: result.nbLeechers,
|
nbLeechers: result.nbLeechers,
|
||||||
nbSeeders: result.nbSeeders,
|
nbSeeders: result.nbSeeders,
|
||||||
|
engineName: result.engineName,
|
||||||
siteUrl: result.siteUrl,
|
siteUrl: result.siteUrl,
|
||||||
pubDate: result.pubDate,
|
pubDate: result.pubDate,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue