mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-17 21:26:22 -04:00
Added: Manual Import now adds year after movie title for filtering. This should help finding movies such as IT.
By searching e.g. It 2017, movies with short titles should be easily filterable now. Also displays more results (50 instead of 20)
This commit is contained in:
@@ -87,7 +87,7 @@ module.exports = Marionette.Layout.extend({
|
||||
|
||||
_filter : function (term) {
|
||||
this.movieCollection.reset(this.fullMovieCollection.filter(function(model){
|
||||
return (model.get("title") + " ("+model.get("year")+")").toLowerCase().indexOf(term.toLowerCase()) != -1;
|
||||
return (model.get("title") + " "+model.get("year")+"").toLowerCase().indexOf(term.toLowerCase()) != -1;
|
||||
}).slice(0, 50));
|
||||
|
||||
this._setModelCollection();
|
||||
|
||||
Reference in New Issue
Block a user