fixes #2337 set correct per_page to avoid excessive requests

...and remove pagination-per-page trigger
This commit is contained in:
Linty 2025-03-04 11:08:26 +01:00
parent 789c062837
commit c4e23c642f
2 changed files with 3 additions and 1 deletions

View file

@ -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();

View file

@ -70,6 +70,7 @@ const status_to_str = {
const view_selector = '{$view_selector}';
const pagination = '{$pagination}';
per_page = parseInt(pagination);
months = [
"{'Jan'|@translate}",