From d4f4190f91f567b4432c88e5ff8603e8302b0e4d Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Fri, 12 Jul 2024 12:40:08 +0000 Subject: [PATCH] Bug 37342: Use get for launching authority popup This patch simply switches to a GET as the operation is not cud To test: 1 - Go to cataloging -> new record 2 - If not in basic editor, switch 3 - Go to tab 100 4 - Enter a name that has no authority in your system: McNotExist, Falsy 5 - Click 'Link authorities automatically' 6 - subfield 9 should turn red, and have an X and a + button 7 - Click the green + 8 - Boom 9 - Apply patch 10 - Reload page and repeat (clear cache so js reloads) 11 - Success! Authority window launches Signed-off-by: Jake Deery Signed-off-by: Emily Lamancusa Signed-off-by: Katrin Fischer --- .../intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt index 85b41b2daf..9a41b4d461 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt @@ -266,7 +266,7 @@ function addCreateAuthorityButton(tag_subfield_line, heading, tag_index) { if(popup !== null) { // Create a new form that will be POSTed in the new window var form = $('
').attr({ - method: 'post', + method: 'get', action: "/cgi-bin/koha/authorities/authorities.pl", target: "new_auth_popup" }); -- 2.39.5