Summary: | Use GET in form of value_builder/unimarc_field_4XX.pl | ||
---|---|---|---|
Product: | Koha | Reporter: | Fridolin Somers <fridolin.somers> |
Component: | Cataloging | Assignee: | Fridolin Somers <fridolin.somers> |
Status: | Failed QA --- | QA Contact: | Testopia <testopia> |
Severity: | normal | ||
Priority: | P5 - low | CC: | david, m.de.rooy, pierre.genty |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
See Also: |
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36577 https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40307 |
||
GIT URL: | Change sponsored?: | --- | |
Patch complexity: | Trivial patch | Documentation contact: | |
Documentation submission: | Text to go in the release notes: |
This fixes searching for terms when using the unimarc_field_4XX.pl value builder. The 'Start search' button now works, instead of doing nothing. (UNIMARC instances.) (This is related to the CSRF changes added in Koha 24.05 to improve form security.)
|
|
Version(s) released in: | Circulation function: | ||
Bug Depends on: | 34478, 36192 | ||
Bug Blocks: | |||
Attachments: |
Bug 40306: Use GET in form of value_builder/unimarc_field_4XX.pl
Bug 40306: Use GET in form of value_builder/unimarc_field_4XX.pl |
Description
Fridolin Somers
2025-07-04 11:38:09 UTC
Created attachment 183791 [details] [review] Bug 40306: Use GET in form of value_builder/unimarc_field_4XX.pl Since CSRF procetion form without CUD action must use GET instead of POST Fix value_builder/unimarc_field_4XX.pl Test plan: 1) Use UNIMARC DB 2) Be sure value builder unimarc_field_4XX.pl is defined on 461$t 3) Create a new biblio record 4) On 461$t click on 'Tag editor' icon 5) Perform a search 6) Click on choose 7) Field 461 is filled Created attachment 183804 [details] [review] Bug 40306: Use GET in form of value_builder/unimarc_field_4XX.pl Since CSRF procetion form without CUD action must use GET instead of POST Fix value_builder/unimarc_field_4XX.pl Test plan: 1) Use UNIMARC DB 2) Be sure value builder unimarc_field_4XX.pl is defined on 461$t 3) Create a new biblio record 4) On 461$t click on 'Tag editor' icon 5) Perform a search 6) Click on choose 7) Field 461 is filled Signed-off-by: David Nind <david@davidnind.com> Testing notes (using KTD): 1. Startup KTD with UNIMARTC: Edit your .env file and set KOHA_MARC_FLAVOUR=unimarc 2. For the default framework, the value builder unimarc_field_4XX.pl is already configured for 461$t. 3. Create a new bibliographic record. 4. For 461$t, click the 'Tag editor'. 5. Search for something, for example: a 6. Click 'Start search' - nothing happens. 7. Apply the patch. 8. Refresh the editor and repeat steps 4 and 5. 9. The 'Start search' button now works. Looks like number.startfrom is wrong too ? |