Koha/cataloguing/value_builder
Phil Ringnalda d5e7d37d8a Bug 27738: Set fallback for unset DefaultCountryField008 to |||, "no attempt to code"
Current code intended to set a fallback of xxu, an unknown state in the US,
but because the preference is always defined, just sometimes unset, it
actually falls back to three spaces, an invalid value. This patch instead
uses the fallback value ||| which means no attempt to code.

Test plan:
1. Without the patch, verify that the value of the system preference
DefaultCountryField008 is empty.
2. Cataloging - New record - Default framework (if you have the Advanced
editor enabled, Settings - Switch to basic editor, this only applies to the
basic editor)
3. On tab 0, click in the text input for field 008 which fills in default
values, then click the Tag editor button at the end of the field
4. In the popup window, verify that the value for 15-17 is shown as ###
indicating three spaces
5. Apply patch, repeat the steps above, verify that the value is now |||

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-04-06 15:56:30 +02:00
..
barcode.pl Bug 25354: Clean up JavaScript markup in cataloging plugin scripts 2020-10-14 14:50:07 +02:00
barcode_manual.pl Bug 25354: Clean up JavaScript markup in cataloging plugin scripts 2020-10-14 14:50:07 +02:00
callnumber-KU.pl Bug 25354: Clean up JavaScript markup in cataloging plugin scripts 2020-10-14 14:50:07 +02:00
callnumber.pl Bug 25354: Clean up JavaScript markup in cataloging plugin scripts 2020-10-14 14:50:07 +02:00
cn_browser.pl Bug 26605: Correctly URI-encode query string in call number browse plugin 2020-11-02 11:03:09 +01:00
dateaccessioned.pl Bug 7806: Fix remaining occurrences of 0000-00-00 2021-03-01 11:16:42 +01:00
EXAMPLE.pl Bug 25354: Clean up JavaScript markup in cataloging plugin scripts 2020-10-14 14:50:07 +02:00
macles.pl Bug 25354: Clean up JavaScript markup in cataloging plugin scripts 2020-10-14 14:50:07 +02:00
marc21_field_005.pl Bug 25354: Clean up JavaScript markup in cataloging plugin scripts 2020-10-14 14:50:07 +02:00
marc21_field_006.pl Bug 25354: Clean up JavaScript markup in cataloging plugin scripts 2020-10-14 14:50:07 +02:00
marc21_field_007.pl Bug 25354: Clean up JavaScript markup in cataloging plugin scripts 2020-10-14 14:50:07 +02:00
marc21_field_008.pl Bug 27738: Set fallback for unset DefaultCountryField008 to |||, "no attempt to code" 2021-04-06 15:56:30 +02:00
marc21_field_008_authorities.pl Bug 25354: Clean up JavaScript markup in cataloging plugin scripts 2020-10-14 14:50:07 +02:00
marc21_field_008_classifications.pl Bug 25354: Clean up JavaScript markup in cataloging plugin scripts 2020-10-14 14:50:07 +02:00
marc21_field_245h.pl Bug 25354: Clean up JavaScript markup in cataloging plugin scripts 2020-10-14 14:50:07 +02:00
marc21_field_260b.pl Bug 15933: Add +x to the script 2020-09-28 11:08:03 +02:00
marc21_leader.pl Bug 25354: Clean up JavaScript markup in cataloging plugin scripts 2020-10-14 14:50:07 +02:00
marc21_leader_authorities.pl Bug 25354: Clean up JavaScript markup in cataloging plugin scripts 2020-10-14 14:50:07 +02:00
marc21_linking_section.pl Bug 25354: Clean up JavaScript markup in cataloging plugin scripts 2020-10-14 14:50:07 +02:00
marc21_orgcode.pl Bug 25354: Clean up JavaScript markup in cataloging plugin scripts 2020-10-14 14:50:07 +02:00
normarc_field_007.pl Bug 25354: Clean up JavaScript markup in cataloging plugin scripts 2020-10-14 14:50:07 +02:00
normarc_field_008.pl Bug 25354: Clean up JavaScript markup in cataloging plugin scripts 2020-10-14 14:50:07 +02:00
normarc_leader.pl Bug 25354: Clean up JavaScript markup in cataloging plugin scripts 2020-10-14 14:50:07 +02:00
stocknumber.pl Bug 25354: Clean up JavaScript markup in cataloging plugin scripts 2020-10-14 14:50:07 +02:00
stocknumberam123.pl Bug 25354: Clean up JavaScript markup in cataloging plugin scripts 2020-10-14 14:50:07 +02:00
stocknumberAV.pl
unimarc_field_4XX.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
unimarc_field_010.pl Bug 25354: Clean up JavaScript markup in cataloging plugin scripts 2020-10-14 14:50:07 +02:00
unimarc_field_100.pl Bug 25354: Clean up JavaScript markup in cataloging plugin scripts 2020-10-14 14:50:07 +02:00
unimarc_field_100_authorities.pl Bug 25354: Clean up JavaScript markup in cataloging plugin scripts 2020-10-14 14:50:07 +02:00
unimarc_field_105.pl Bug 25354: Clean up JavaScript markup in cataloging plugin scripts 2020-10-14 14:50:07 +02:00
unimarc_field_106.pl
unimarc_field_110.pl Bug 25354: Clean up JavaScript markup in cataloging plugin scripts 2020-10-14 14:50:07 +02:00
unimarc_field_115a.pl Bug 25354: Clean up JavaScript markup in cataloging plugin scripts 2020-10-14 14:50:07 +02:00
unimarc_field_115b.pl Bug 25354: Clean up JavaScript markup in cataloging plugin scripts 2020-10-14 14:50:07 +02:00
unimarc_field_116.pl
unimarc_field_117.pl
unimarc_field_120.pl
unimarc_field_121a.pl
unimarc_field_121b.pl
unimarc_field_122.pl
unimarc_field_123a.pl
unimarc_field_123d.pl
unimarc_field_123e.pl
unimarc_field_123f.pl
unimarc_field_123g.pl
unimarc_field_123i.pl
unimarc_field_123j.pl
unimarc_field_124.pl
unimarc_field_124a.pl
unimarc_field_124b.pl
unimarc_field_124c.pl
unimarc_field_124d.pl
unimarc_field_124e.pl
unimarc_field_124f.pl
unimarc_field_124g.pl
unimarc_field_125.pl
unimarc_field_125a.pl
unimarc_field_125b.pl
unimarc_field_126.pl
unimarc_field_126a.pl
unimarc_field_126b.pl
unimarc_field_127.pl
unimarc_field_128a.pl
unimarc_field_128b.pl
unimarc_field_128c.pl
unimarc_field_130.pl
unimarc_field_135a.pl
unimarc_field_140.pl
unimarc_field_141.pl
unimarc_field_210c.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
unimarc_field_210c_bis.pl Bug 25354: Clean up JavaScript markup in cataloging plugin scripts 2020-10-14 14:50:07 +02:00
unimarc_field_225a.pl Bug 25354: Clean up JavaScript markup in cataloging plugin scripts 2020-10-14 14:50:07 +02:00
unimarc_field_225a_bis.pl Bug 25354: Clean up JavaScript markup in cataloging plugin scripts 2020-10-14 14:50:07 +02:00
unimarc_field_686a.pl
unimarc_field_700-4.pl
unimarc_leader.pl
upload.pl Bug 25354: Clean up JavaScript markup in cataloging plugin scripts 2020-10-14 14:50:07 +02:00