WebUI: Implement server-side sorting.

This commit is contained in:
Vladimir Golovnev (Glassez)
2014-11-24 21:37:16 +03:00
parent 8ff03d162d
commit 59ff08c107
3 changed files with 63 additions and 3 deletions

View File

@@ -44,7 +44,8 @@ private:
btjson() {}
public:
static QByteArray getTorrents(QString filter = "all", QString label = QString());
static QByteArray getTorrents(QString filter = "all", QString label = QString(),
QString sortedColumn = "name", bool reverse = false);
static QByteArray getTrackersForTorrent(const QString& hash);
static QByteArray getPropertiesForTorrent(const QString& hash);
static QByteArray getFilesForTorrent(const QString& hash);