mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-22 22:14:44 -04:00
Using SortValue instead of API hack for history
Fixed jshint for series collection
This commit is contained in:
@@ -40,7 +40,7 @@ define(
|
||||
|
||||
var _storeState = function (column, sortDirection) {
|
||||
var order = _convertDirectionToInt(sortDirection);
|
||||
var sortKey = column.get('name');
|
||||
var sortKey = column.has('sortValue') ? column.get('sortValue') : column.get('name');
|
||||
|
||||
Config.setValue('{0}.sortKey'.format(this.tableName), sortKey);
|
||||
Config.setValue('{0}.sortDirection'.format(this.tableName), order);
|
||||
|
||||
Reference in New Issue
Block a user