Skip to content

Commit

Permalink
added ignorearticle to video sort
Browse files Browse the repository at this point in the history
  • Loading branch information
jez500 committed May 3, 2014
1 parent 418808f commit 7f17ad0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/js/collections/video.js
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ app.RecentTvepisodeCollection = Backbone.Collection.extend({
// constuct params
opt.push(app.fields.get('tvepisode')); // tv eps
opt.push({end: 10000, start: 0}); // show all
opt.push({method: 'date', order: 'descending'}); // new first
opt.push({method: 'date', ignorearticle: true, order: 'descending'}); // new first

// lookup
app.xbmcController.command('VideoLibrary.GetRecentlyAddedEpisodes', opt, function(data){
Expand Down
1 change: 1 addition & 0 deletions src/js/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,7 @@ $(document).ready(function(){
ret.method = sortAr[0];
ret.order = sortAr[1];
}
ret.ignorearticle = true;
return ret;
};

Expand Down
2 changes: 1 addition & 1 deletion src/theme/sass/components/_video.scss
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ h1.video-title {
margin: 20px 0 -20px;
@include breakpoint($width-tablet) {
display: block;
}
}
}

}

0 comments on commit 7f17ad0

Please sign in to comment.