mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
Allow series grid sorting by episodes (percent downloaded)
This commit is contained in:
parent
0a7401c180
commit
59c033dd68
3 changed files with 40 additions and 11 deletions
|
@ -10,14 +10,13 @@ define(
|
|||
'Cells/SeriesTitleCell',
|
||||
'Cells/TemplatedCell',
|
||||
'Cells/QualityProfileCell',
|
||||
'Cells/EpisodeProgressCell',
|
||||
'Shared/Grid/DateHeaderCell',
|
||||
'Series/Index/Table/SeriesStatusCell',
|
||||
'Series/Index/Table/SeriesStatusHeaderCell',
|
||||
'Series/Index/Table/Row',
|
||||
'Series/Index/FooterView',
|
||||
'Series/Index/FooterModel',
|
||||
'Shared/Toolbar/ToolbarLayout',
|
||||
'Shared/LoadingView'
|
||||
'Shared/Toolbar/ToolbarLayout'
|
||||
], function (Marionette,
|
||||
PosterCollectionView,
|
||||
ListCollectionView,
|
||||
|
@ -27,14 +26,13 @@ define(
|
|||
SeriesTitleCell,
|
||||
TemplatedCell,
|
||||
QualityProfileCell,
|
||||
EpisodeProgressCell,
|
||||
DateHeaderCell,
|
||||
SeriesStatusCell,
|
||||
SeriesStatusHeaderCell,
|
||||
SeriesIndexRow,
|
||||
FooterView,
|
||||
FooterModel,
|
||||
ToolbarLayout,
|
||||
LoadingView) {
|
||||
ToolbarLayout) {
|
||||
return Marionette.Layout.extend({
|
||||
template: 'Series/Index/SeriesIndexLayoutTemplate',
|
||||
|
||||
|
@ -79,11 +77,9 @@ define(
|
|||
headerCell: DateHeaderCell
|
||||
},
|
||||
{
|
||||
name : 'this',
|
||||
label : 'Episodes',
|
||||
sortable: false,
|
||||
template: 'Series/EpisodeProgressTemplate',
|
||||
cell : TemplatedCell,
|
||||
name : 'percentOfEpisodes',
|
||||
label : 'Episodes',
|
||||
cell : EpisodeProgressCell,
|
||||
className: 'episode-progress-cell'
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue