diff --git a/bazarr/config.py b/bazarr/config.py
index 35cd76623..b8afd85ca 100644
--- a/bazarr/config.py
+++ b/bazarr/config.py
@@ -32,6 +32,7 @@ defaults = {
'movie_default_hi': 'False',
'movie_default_forced': 'False',
'page_size': '25',
+ 'page_size_manual_search': '5',
'minimum_score_movie': '70',
'use_embedded_subs': 'True',
'utf8_encode': 'True',
diff --git a/views/episodes.html b/views/episodes.html
index 8a8b31c1b..a25bc8263 100644
--- a/views/episodes.html
+++ b/views/episodes.html
@@ -525,8 +525,9 @@
processing: "Searching (possibly solving captcha)..."
},
paging: true,
- lengthChange: false,
- pageLength: 5,
+ lengthChange: true,
+ pageLength: {{ settings.general.page_size_manual_search }},
+ lengthMenu: [ 5, 10, 15, 20, 25 ],
searching: false,
ordering: false,
processing: true,
@@ -599,7 +600,7 @@
},
{
data: 'uploader',
- render: function ( data, type, row ) {
+ render: function ( data ) {
return '
' + data + '
';
}
},
diff --git a/views/movie.html b/views/movie.html
index 3a6cb7a1e..0d470e6ae 100644
--- a/views/movie.html
+++ b/views/movie.html
@@ -408,8 +408,9 @@
processing: "Searching (possibly solving captcha)..."
},
paging: true,
- lengthChange: false,
- pageLength: 5,
+ lengthChange: true,
+ pageLength: {{ settings.general.page_size_manual_search }},
+ lengthMenu: [ 5, 10, 15, 20, 25 ],
searching: false,
ordering: false,
processing: true,
@@ -476,7 +477,7 @@
}
},
{ data: 'uploader',
- render: function ( data, type, row ) {
+ render: function ( data ) {
return '' + data + '
';
}
},
diff --git a/views/settingsgeneral.html b/views/settingsgeneral.html
index fef857b4b..9e4d427d3 100644
--- a/views/settingsgeneral.html
+++ b/views/settingsgeneral.html
@@ -197,6 +197,20 @@
+
+
+ Page Size Manual Search
+
+
+
+
+
Logging
@@ -302,6 +316,7 @@
$('#settings-auth-type').val('{{settings.auth.type}}').trigger('change');
$('#settings-proxy-type').val('{{settings.proxy.type}}').trigger('change');
$('#settings-general-page_size').val('{{settings.general.page_size}}');
+ $('#settings-general-page_size_manual_search').val('{{settings.general.page_size_manual_search}}');
$('#settings-general-branch').val('{{settings.general.branch}}');
$('.selectpicker').selectpicker('refresh')