Koha-clms/cataloguing
Marcel de Rooy 6dfb1864c7 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>
(cherry picked from commit 1803e69b2f)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-10-08 16:30:39 -10:00
..
value_builder Bug 27461: Right pad with default elements for too short 008s 2021-10-08 16:30:39 -10:00
addbiblio.pl Bug 27578: Initialize searchid as blank when not populated 2021-03-04 10:35:08 +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-06 10:17:14 -10:00
editor.pl Bug 27739: Advanced editor should use DefaultCountryField008 preference 2021-04-22 15:58:39 +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 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
z3950_search.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00