mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 22:47:21 -06:00
WebUI: Implement server-side torrent filtering.
This commit is contained in:
@@ -188,7 +188,8 @@ void RequestHandler::action_public_images()
|
||||
|
||||
void RequestHandler::action_json_torrents()
|
||||
{
|
||||
print(btjson::getTorrents(), CONTENT_TYPE_JS);
|
||||
const QStringMap& gets = request().gets;
|
||||
print(btjson::getTorrents(gets["filter"], gets["label"]), CONTENT_TYPE_JS);
|
||||
}
|
||||
|
||||
void RequestHandler::action_json_preferences()
|
||||
|
||||
Reference in New Issue
Block a user