mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-23 06:45:19 -07:00
Merge pull request #358 from Radarr/patch/add-year-to-search
add year to search
This commit is contained in:
commit
a53768463b
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue