Koha/cataloguing
Marcel de Rooy 1803e69b2f Bug 27461: Right pad with default elements for too short 008s
Note that we treat the elements 18-34 as one block of elements,
since its subdivision may vary.
E.g. if you pass 24 characters to the form, it will use the first
18 chars (until the last complete element) and pad with default
elements from position 18-39.

Test plan:
[1] Go to addbiblio. Make sure that 008 is connected to the plugin.
[2] Backspace field 008 a bit, click on the plugin button.
[3] Verify that the last elements come from the default.
[4] Repeat for a few different lengths.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Phil Ringnalda <phil@chetcolibrary.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2021-10-08 07:58:08 -04:00
..
value_builder Bug 27461: Right pad with default elements for too short 008s 2021-10-08 07:58:08 -04:00
addbiblio.pl Bug 8976: Add the ability to sort subfields for the MARC frameworks 2021-03-01 15:14:22 +01:00
addbooks.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
additem.pl Bug 21093: In additem.pl set the right stickyduedate for fast add 2021-10-01 14:06:50 -04:00
editor.pl Bug 27739: Advanced editor should use DefaultCountryField008 preference 2021-04-16 12:28:17 +02:00
linkitem.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
merge.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
merge_ajax.pl Bug 14588: Simplify merge_ajax.pl 2015-08-21 10:21:39 -03:00
moveitem.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
plugin_launcher.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
ysearch.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
z3950_auth_search.pl Bug 11299: Add a button to the biblio edition page to automatically add authority links in the current biblio record via AJAX. Also adds a button to easily create missing authority records. 2021-01-14 14:03:49 +01:00
z3950_search.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00