1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-25 09:12:38 +00:00

Added filtering to manual search dialog

This commit is contained in:
josdion 2020-05-03 12:03:09 +03:00
parent 8bf929dee7
commit 0ae5ea56a2
2 changed files with 6 additions and 2 deletions

View file

@ -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>';
}

View file

@ -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>';
}