mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-23 14:55:20 -07:00
Add year to quick search results
This commit is contained in:
parent
40ca469339
commit
3ab3e66853
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