From 3d18bafe5123614ecb13a2a5d194390caa92fb6f Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 31 Mar 2022 10:30:22 +0200 Subject: [PATCH] Bug 30404: Enlarge all patron search pop-ups MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Enlarging the pop-ups will hide the scrollbars (at least the horizontal one). Test plan: Search for patrons (when a new pop-up is opened) and confirm that the pop-up is bigger than without this patch. Signed-off-by: Séverine Queune Signed-off-by: Martin Renvoize Signed-off-by: Fridolin Somers --- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt | 2 +- .../intranet-tmpl/prog/en/modules/acqui/neworderempty.tt | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt | 4 ++-- .../intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing.tt | 2 +- .../intranet-tmpl/prog/en/modules/suggestion/suggestion.tt | 4 ++-- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt index 9ef5b60c62..c4a43aebb6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt @@ -1012,7 +1012,7 @@ window.open( "/cgi-bin/koha/members/search.pl?columns=cardnumber,name,category,branch,action&selection_type=add&filter=baskets_managers", 'UserSearchPopup', - 'width=840, height=500, scrollbars=yes, toolbar=no,' + 'width=1024, height=768, scrollbars=yes, toolbar=no,' ); } diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt index 21d0b112c8..2e80630d82 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt @@ -686,7 +686,7 @@ window.open( "/cgi-bin/koha/members/search.pl?columns=cardnumber,name,category,branch,action&selection_type=add", 'UserSearchPopup', - 'width=740, height=450, scrollbars=yes, toolbar=no,' + 'width=1024, height=768, scrollbars=yes, toolbar=no,' ); } diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt index 347f79f9c6..cf5852d20a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt @@ -497,7 +497,7 @@ function userPopup() { window.open("/cgi-bin/koha/members/search.pl?columns=cardnumber,name,category,branch,action&selection_type=add&filter=funds_users", 'PatronPopup', - 'width=740,height=450,location=yes,toolbar=no,' + 'width=1024,height=768,location=yes,toolbar=no,' + 'scrollbars=yes,resize=yes' ); } @@ -505,7 +505,7 @@ function ownerPopup() { window.open("/cgi-bin/koha/members/search.pl?columns=cardnumber,name,category,branch,action&selection_type=select&filter=funds_owners", 'PatronPopup', - 'width=740,height=450,location=yes,toolbar=no,' + 'width=1024,height=768,location=yes,toolbar=no,' + 'scrollbars=yes,resize=yes' ); } diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt index 2589e6dfe5..4ef824d5ed 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt @@ -187,7 +187,7 @@ if (bor_nums.value == '') { window.open("/cgi-bin/koha/members/search.pl?columns=cardnumber,name,category,branch,dateexpiry,borrowernotes,action&selection_type=add", 'PatronPopup', - 'width=840,height=500,location=yes,toolbar=no,' + 'width=1024,height=768,location=yes,toolbar=no,' + 'scrollbars=yes,resize=yes'); } else { document.forms["add_by_bor_num"].submit(); diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing.tt index d9c8bf68f2..93f691cbe4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing.tt @@ -144,7 +144,7 @@ function userPopup() { window.open("/cgi-bin/koha/members/search.pl?columns=cardnumber,name,category,branch,action&selection_type=add", 'PatronPopup', - 'width=740,height=450,location=yes,toolbar=no,' + 'width=1024,height=768,scrollbars=yes,toolbar=no,' + 'scrollbars=yes,resize=yes' ); } diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt index 99309134cc..1f691dcf93 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt @@ -1220,7 +1220,7 @@ tab = selected_tab; window.open("/cgi-bin/koha/members/search.pl?columns=cardnumber,name,branch,category,action&selection_type=select&callback=select_manager&filter=suggestions_managers", 'PatronPopup', - 'width=740,height=450,location=yes,toolbar=no,' + 'width=1024,height=768,scrollbars=yes,toolbar=no,' + 'scrollbars=yes,resize=yes' ); } @@ -1257,7 +1257,7 @@ function editSuggesterPopup() { window.open("/cgi-bin/koha/members/search.pl?columns=cardnumber,name,branch,category,action&selection_type=select&callback=select_suggester", 'PatronPopup', - 'width=740,height=450,location=yes,toolbar=no,' + 'width=1024,height=768,scrollbars=yes,toolbar=no,' + 'scrollbars=yes,resize=yes' ); } -- 2.39.5