New: Filter series by type (standard, daily or anime)

pull/89/merge
Mark McDowall 10 years ago
parent 1368c4376b
commit 0a44744c5e

@ -185,4 +185,18 @@
.icon-nd-health-error:before {
.icon(@exclamation-sign);
color : @brand-danger;
}
.icon-nd-standard-series:before {
font-weight: bold;
content: 'S';
}
.icon-nd-daily-series:before {
.icon(@calendar-empty);
}
.icon-nd-anime:before {
font-weight: bold;
content: 'A';
}

@ -216,6 +216,27 @@ define(
tooltip : 'Ended Only',
icon : 'icon-stop',
callback: this._setFilter
},
{
key : 'standard',
title : '',
tooltip : 'Standard Series Only',
icon : 'icon-nd-standard-series',
callback: this._setFilter
},
{
key : 'daily',
title : '',
tooltip : 'Daily Series Only',
icon : 'icon-nd-daily-series',
callback: this._setFilter
},
{
key : 'anime',
title : '',
tooltip : 'Anime Only',
icon : 'icon-nd-anime',
callback: this._setFilter
}
]
};

@ -54,7 +54,10 @@ define(
'all' : [null, null],
'continuing' : ['status', 'continuing'],
'ended' : ['status', 'ended'],
'monitored' : ['monitored', true]
'monitored' : ['monitored', true],
'standard' : ['seriesType', 'standard'],
'daily' : ['seriesType', 'daily'],
'anime' : ['seriesType', 'anime']
},
sortMappings: {

Loading…
Cancel
Save