Allow to filter torrent list by infohash#23829
Allow to filter torrent list by infohash#23829stalkerok wants to merge 1 commit intoqbittorrent:masterfrom
Conversation
|
Alternative naming: Allow to filter torrent list by infohash Allow to filter transferlist by infohash |
👍 |
|
@qbittorrent/bug-handlers Should we just include all column names at this stage as requested/suggested in #23774? |
|
I don't think filtering by all columns makes sense, but can add filtering by category, tags, and addition/completion dates. |
|
By the way, should the drop-down be needed at all? Isn't info hash a fixed size string that is very easy to recognize with a simplest regex of all time? I was honestly surprised that I had to use the drop-down on the web-site too. |
Tags and Categories are filtered using filter sidebar. |
There are not many options for adding items, but filtering by categories and tags can be useful if their names partially match, as this will display several categories or tags. |
This might make sense, but it should behave consistently with the sidebar filter as well. |
I was thinking about marking read/watched/unneeded torrents with a tag like "done". But then I realize there is no way to filter like |
|
I suppose any other options can be discussed in their relevant ticket(s) & any other submitted PR's. Giving my approval for this PR anyway. |
| tr("Transfers")); | ||
| // Filter types | ||
| const QList<TransferListModel::Column> filterTypes = {TransferListModel::Column::TR_NAME, TransferListModel::Column::TR_SAVE_PATH}; | ||
| const QList<TransferListModel::Column> filterTypes = {TransferListModel::Column::TR_NAME, TransferListModel::Column::TR_SAVE_PATH, TransferListModel::Column::TR_INFOHASH_V1, TransferListModel::Column::TR_INFOHASH_V2}; |
There was a problem hiding this comment.
| const QList<TransferListModel::Column> filterTypes = {TransferListModel::Column::TR_NAME, TransferListModel::Column::TR_SAVE_PATH, TransferListModel::Column::TR_INFOHASH_V1, TransferListModel::Column::TR_INFOHASH_V2}; | |
| const QList<TransferListModel::Column> filterTypes = { | |
| TransferListModel::Column::TR_NAME | |
| , TransferListModel::Column::TR_SAVE_PATH | |
| , TransferListModel::Column::TR_INFOHASH_V1 | |
| , TransferListModel::Column::TR_INFOHASH_V2}; |
There was a problem hiding this comment.
It's none of my business
, but out of curiosity
, which languages do you speak that put commas at the start of lines
?
There was a problem hiding this comment.
It's not about any human language.
There was a problem hiding this comment.
This is just to simplify the code review, as it allows you to quickly identify that this line is a continuation of the list.
There was a problem hiding this comment.
Don't you get at least one line of context surrounding diff either way?


Closes #10893.