Koha/cataloguing
Emily Lamancusa 20c77759cf Bug 34993: Pass context parameters to generate_subfield_form
Pass necessary parameters from the UI to ensure that the basic
MARC editor can correctly identify when a framework is changed,
a bib is being duplicated, or a bib is being imported with Z39.50 -
for purposes of filling in default values according to the settings
of ApplyFrameworkDefaults.

To test:
1. Set the system preference ApplyFrameworkDefaults - Select All
2. Create or edit a MARC bibliographic framework with a default value in
   one of the fields (such as 500$a)
3. Go to the Cataloguing module and create a new record using the
   framework from step 2
   --> Confirm that the default value is filled in
4. Search for an existing bib record
5. Click Edit > Edit record to open the basic editor
6. If the field from step 2 already has data, clear it
7. Switch the framework to the framework from step 2
   --> Confirm that the default value is filled in
8. Clear the field again, and save the edit
9. Click Edit > Edit as new (duplicate)
   --> Confirm that the default value is filled in
10. Go to the cataloguing module and do a Z39.50 search
11. Find a record that does not have a value for the subfield from step 2
12. Import the record using the framework from step 2
    --> Confirm that the default value is filled in

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 0c94114790)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit e72ac1bacc)
Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>
2023-11-14 13:46:42 -01:00
..
value_builder Bug 32853: Fix cataloguing/value_builder/unimarc_field_125.pl 2023-11-13 15:22:17 +00:00
addbiblio.pl Bug 34993: Pass context parameters to generate_subfield_form 2023-11-14 13:46:42 -01:00
addbooks.pl
additem.pl Bug 32379: Add check on existing item 2023-11-14 13:41:58 -01:00
cataloging-home.pl Bug 34288: Allow access to the cataloguing module with tools permission 2023-07-19 10:14:21 +00:00
editor.pl Bug 33375: Quote reserved keyword 'rank' in advanced editor 2023-04-18 12:08:13 +00:00
linkitem.pl
merge.pl
merge_ajax.pl
moveitem.pl Bug 34171: Use barcodedecode when attaching items to another record 2023-11-13 14:19:28 +00:00
plugin_launcher.pl
ysearch.pl
z3950_auth_search.pl Bug 33445: Pass through form info if present and use record values otherwise 2023-05-15 12:41:21 +00:00
z3950_search.pl