mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 14:08:03 -06:00
WebUI: Don't sort rows with static trackers in Trackers table
Static trackers come before anything else so in this PR I made sure they are not moved when sorting Trackers table columns. PR #21609.
This commit is contained in:
@@ -101,7 +101,8 @@ window.qBittorrent.PropTrackers ??= (() => {
|
||||
seeds: (tracker.num_seeds >= 0) ? tracker.num_seeds : "QBT_TR(N/A)QBT_TR[CONTEXT=TrackerListWidget]",
|
||||
leeches: (tracker.num_leeches >= 0) ? tracker.num_leeches : "QBT_TR(N/A)QBT_TR[CONTEXT=TrackerListWidget]",
|
||||
downloaded: (tracker.num_downloaded >= 0) ? tracker.num_downloaded : "QBT_TR(N/A)QBT_TR[CONTEXT=TrackerListWidget]",
|
||||
message: tracker.msg
|
||||
message: tracker.msg,
|
||||
_sortable: !tracker.url.startsWith("** [")
|
||||
};
|
||||
|
||||
torrentTrackersTable.updateRowData(row);
|
||||
|
||||
Reference in New Issue
Block a user