Added filtering to manual search dialog

pull/997/head
josdion 5 years ago
parent 8bf929dee7
commit 0ae5ea56a2

@ -528,7 +528,7 @@
lengthChange: true,
pageLength: {{ settings.general.page_size_manual_search }},
lengthMenu: [ 5, 10, 15, 20, 25 ],
searching: false,
searching: true,
ordering: false,
processing: true,
serverSide: false,
@ -568,6 +568,7 @@
},
{
data: null,
searchable: false,
render: function (data) {
const array_matches = data.matches;
const array_dont_matches = data.dont_matches;
@ -612,6 +613,7 @@
},
{
data: null,
searchable: false,
render: function (data) {
return '<a href="" class="manual_download badge badge-secondary" data-episodePath="' + episodePath + '" data-sceneName="' + sceneName + '" data-sonarrEpisodeId=' + sonarrEpisodeId + ' data-subtitle="' + data.subtitle + '" data-provider="' + data.provider + '" data-language="' + data.language + '" data-forced="' + forced + '"><i class="fas fa-download" style="margin-right:0px" ></i></a>';
}

@ -411,7 +411,7 @@
lengthChange: true,
pageLength: {{ settings.general.page_size_manual_search }},
lengthMenu: [ 5, 10, 15, 20, 25 ],
searching: false,
searching: true,
ordering: false,
processing: true,
serverSide: false,
@ -447,6 +447,7 @@
}
},
{ data: null,
searchable: false,
render: function ( data ) {
const array_matches = data.matches;
const array_dont_matches = data.dont_matches;
@ -488,6 +489,7 @@
}
},
{ data: null,
searchable: false,
render: function ( data ) {
return '<a href="" class="manual_download badge badge-secondary" data-moviePath="'+moviePath+'" data-sceneName="'+sceneName+'" data-subtitle="'+data.subtitle+'" data-provider="'+data.provider+'" data-language="'+data.language+'" data-forced="'+forced+'"><i class="fas fa-download" style="margin-right:0px" ></i></a>';
}

Loading…
Cancel
Save