mirror of
https://github.com/Radarr/Radarr
synced 2025-02-21 22:07:21 +00: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:
parent
5f8aeeac17
commit
d5832a6a07
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue