mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 14:38:04 -06: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:
@@ -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,
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user