mirror of https://github.com/Radarr/Radarr
Merge pull request #358 from Radarr/patch/add-year-to-search
add year to search
This commit is contained in:
commit
a53768463b
|
@ -25,7 +25,9 @@ $.fn.bindSearch = function() {
|
||||||
minLength : 1
|
minLength : 1
|
||||||
}, {
|
}, {
|
||||||
name : 'series',
|
name : 'series',
|
||||||
displayKey : 'title',
|
displayKey : function(series) {
|
||||||
|
return series.title + ' (' + series.year + ')';
|
||||||
|
},
|
||||||
source : substringMatcher()
|
source : substringMatcher()
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue