mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 01:33:07 -07:00
- Remember selected filter using a Cookie (Web UI)
This commit is contained in:
parent
f9a5afe446
commit
f0a18ec1f5
3 changed files with 17 additions and 3 deletions
|
@ -42,7 +42,10 @@ var dynamicTable = new Class ({
|
|||
this.cur = new Array();
|
||||
this.priority_hidden = false;
|
||||
this.progressIndex = progressIndex;
|
||||
this.filter = 'all';
|
||||
this.filter = Cookie.read('selected_filter');
|
||||
if(!$defined(this.filter)) {
|
||||
this.filter = 'all';
|
||||
}
|
||||
this.context_menu = context_menu;
|
||||
this.table.sortedIndex = 1; // Default is NAME
|
||||
this.table.reverseSort = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue