Bugzilla – Attachment 183792 Details for
Bug 40307
Use GET in form of value_builder/unimarc_field_210c.tt
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40307: Use GET in form of value_builder/unimarc_field_210c.tt
Bug-40307-Use-GET-in-form-of-valuebuilderunimarcfi.patch (text/plain), 1.98 KB, created by
Fridolin Somers
on 2025-07-04 12:38:55 UTC
(
hide
)
Description:
Bug 40307: Use GET in form of value_builder/unimarc_field_210c.tt
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2025-07-04 12:38:55 UTC
Size:
1.98 KB
patch
obsolete
>From 205ef17250182a3ac7d0cfb3b1c77ad41a813f35 Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Fri, 4 Jul 2025 14:34:28 +0200 >Subject: [PATCH] Bug 40307: Use GET in form of > value_builder/unimarc_field_210c.tt > >Since CSRF procetion form without CUD action must use GET instead of POST >Fix value_builder/unimarc_field_210c.tt > >Test plan : >1) Use UNIMARC catalog >2) Define unimarc_field_210c value builder on 210$c >3) Define an autority type EDITORS with heading on 200$b >4) Create an autority of this type >5) Index this new autority >6) Edit a biblio record and launch 210$c value builder >7) Search for new autority >8) Click on 'Choose' >9) Heading is pasted in 210$c >--- > .../modules/cataloguing/value_builder/unimarc_field_210c.tt | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_210c.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_210c.tt >index a0f925464b..47e7b6d8e8 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_210c.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_210c.tt >@@ -15,11 +15,10 @@ > <body id="cat_unimarc_field_210c" class="cat value_builder"> > <h1>UNIMARC field 210c builder</h1> > <h4>Search for authority type: PERSO_NAME</h4> >-<form name="f" method="post" action="plugin_launcher.pl"> >- [% INCLUDE 'csrf-token.inc' %] >+<form name="f" method="get" action="plugin_launcher.pl"> > <fieldset class="rows"> > <input type="hidden" name="plugin_name" value="unimarc_field_210c.pl" /> >- <input type="hidden" name="op" value="cud-do_search" /> >+ <input type="hidden" name="op" value="do_search" /> > <input type="hidden" name="type" value="intranet" /> > <input type="hidden" name="nbstatements" value="[% nbstatements | html %]" /> > <input type="hidden" name="index" value="[% index | html %]" /> >-- >2.43.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 40307
: 183792