]> git.koha-community.org Git - koha.git/commit
Bug 35725: Keep cardnumber and library data when changing request type
authorPedro Amorim <pedro.amorim@ptfs-europe.com>
Mon, 8 Jan 2024 14:43:43 +0000 (14:43 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Thu, 31 Oct 2024 10:32:55 +0000 (11:32 +0100)
commit67733589a917fda8b6c926b11a830a4dda6c0364
treec83615e22a432538469a893841fdc99f4e8330c6
parenta11a866871d14e120ae9f3db3b39effdefb2a362
Bug 35725: Keep cardnumber and library data when changing request type

Test plan:
1) Apply 35570
2) Enable ILLModule sys pref through UI, or run:
   echo "update systempreferences set value = 1 where variable = \"ILLModule\";" | koha-mysql kohadev
3) Create a new Standard request, visit:
   http://localhost:8081/cgi-bin/koha/ill/ill-requests.pl?method=create&backend=Standard
4) Input a cardnumber and/or set a library at the bottom under "Patron options".
5) Change the type (top of the form). Notice the data from step 4) is gone.
6) Apply patch. Repeat test plan and notice data is kept when changing request type.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Koha/ILL/Backend/intra-includes/create.inc