mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
fixes #2337 set correct per_page to avoid excessive requests
...and remove pagination-per-page trigger
This commit is contained in:
@@ -303,7 +303,8 @@ $( document ).ready(function() {
|
||||
break;
|
||||
}
|
||||
|
||||
$("#pagination-per-page-"+pagination).trigger('click');
|
||||
|
||||
//$("#pagination-per-page-"+pagination).trigger('click');
|
||||
|
||||
if (has_group) {
|
||||
advanced_filter_button_click();
|
||||
|
||||
@@ -70,6 +70,7 @@ const status_to_str = {
|
||||
|
||||
const view_selector = '{$view_selector}';
|
||||
const pagination = '{$pagination}';
|
||||
per_page = parseInt(pagination);
|
||||
|
||||
months = [
|
||||
"{'Jan'|@translate}",
|
||||
|
||||
Reference in New Issue
Block a user