Koha/cataloguing/value_builder
Josef Moravec b36a0e1a59 Bug 10132: Add ability to set MARC Organization Code at library level
Test plan:
0. Apply patches
1. Update database
2. Go to administration -> libraries, try to update some library and
fill in some value into Marc Organization code field
3. Save this library and edit again - the code should be stored
correctly
4. Go to system preferences and fill in some value into MARCOrgCode
preference, note there is enhanced description mentioning the ability to
set organization code on library level
5. Set active library to the one with own org code stored
6. Go to cataloguing, create new empty record and click into field 003 -
there should be the code you filled for that library
7. Set active library to one withou marc org code
8. Go to cataloguing, create new empty record and click into field 003 -
there should be the code from system preference
9. Go to system preferences again and set AutoCreateAuthorities to
'generate' and BiblioAddsAuthorities to 'allow'
10. Go to cataloguing and create some biblio record, fill in any author
in to create its authority record, save the biblio
11. Go to authorities and find this created authority, go to details and
check the fields: 003, 040$a, 040$c, 670$a - there should be used right org code
12. prove t/db_dependent/AuthoritiesMarc.t t/db_dependent/Biblio.t t/db_dependent/Koha/Libraries.t

Signed-off-by: Hugo Agud <hagud@orex.es>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2017-09-19 09:47:27 -03:00
..
barcode.pl Bug 16203: Convert item plugins to new style (see bug 10480) 2016-12-16 11:55:27 +00:00
barcode_manual.pl Bug 16203: Convert item plugins to new style (see bug 10480) 2016-12-16 11:55:27 +00:00
callnumber-KU.pl Bug 16203: Convert item plugins to new style (see bug 10480) 2016-12-16 11:55:27 +00:00
callnumber.pl Bug 16203: Convert item plugins to new style (see bug 10480) 2016-12-16 11:55:27 +00:00
cn_browser.pl Bug 16203: Convert item plugins to new style (see bug 10480) 2016-12-16 11:55:27 +00:00
dateaccessioned.pl Bug 16203: Convert item plugins to new style (see bug 10480) 2016-12-16 11:55:27 +00:00
EXAMPLE.pl Bug 16154: CGI->multi_param - Force scalar context 2016-04-26 23:16:43 +00:00
macles.pl Bug 16203: Convert item plugins to new style (see bug 10480) 2016-12-16 11:55:27 +00:00
marc21_field_005.pl Bug 13437: Replace javascript function parameter in builder 2015-06-10 12:51:28 -03:00
marc21_field_006.pl Bug 17072: 006 not filling in with existing values 2016-09-08 11:58:39 +00:00
marc21_field_007.pl Bug 10148: Marc21 field 007 builder improper reload values 2016-08-10 13:22:27 +00:00
marc21_field_008.pl Bug 13437: Replace javascript function parameter in builder 2015-06-10 12:51:28 -03:00
marc21_field_008_authorities.pl Bug 13437: Replace javascript function parameter in builder 2015-06-10 12:51:28 -03:00
marc21_field_008_classifications.pl Bug 17233 - Add 008 value builder plugin for MARC21 classifications 2017-03-31 13:48:16 +00:00
marc21_field_245h.pl Bug 13437: Replace javascript function parameter in builder 2015-06-10 12:51:28 -03:00
marc21_leader.pl Bug 14201: Plugin marc21_leader_book is useless 2015-09-28 12:19:52 -03:00
marc21_leader_authorities.pl Bug 13437: Replace javascript function parameter in builder 2015-06-10 12:51:28 -03:00
marc21_linking_section.pl Bug 19040: Refactor GetMarcBiblio parameters 2017-08-25 10:23:42 -03:00
marc21_orgcode.pl Bug 10132: Add ability to set MARC Organization Code at library level 2017-09-19 09:47:27 -03:00
normarc_field_007.pl Bug 9978: (followup) Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:43 -03:00
normarc_field_008.pl Bug 9978: (followup) Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:43 -03:00
normarc_leader.pl Bug 9978: (followup) Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:43 -03:00
stocknumber.pl Bug 16203: Convert item plugins to new style (see bug 10480) 2016-12-16 11:55:27 +00:00
stocknumberam123.pl Bug 16203: Convert item plugins to new style (see bug 10480) 2016-12-16 11:55:27 +00:00
stocknumberAV.pl Bug 16203: Convert item plugins to new style (see bug 10480) 2016-12-16 11:55:27 +00:00
unimarc_field_4XX.pl Bug 19040: Refactor GetMarcBiblio parameters 2017-08-25 10:23:42 -03:00
unimarc_field_010.pl Bug 14660: Fix 3 other cataloguing plugins 2015-08-20 13:40:56 -03:00
unimarc_field_100.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
unimarc_field_100_authorities.pl Bug 15193 - Perl scripts missing exec permission 2015-12-11 16:36:08 +00:00
unimarc_field_105.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
unimarc_field_106.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
unimarc_field_110.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
unimarc_field_115a.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
unimarc_field_115b.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
unimarc_field_116.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
unimarc_field_117.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
unimarc_field_120.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
unimarc_field_121a.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
unimarc_field_121b.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
unimarc_field_122.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
unimarc_field_123a.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
unimarc_field_123d.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
unimarc_field_123e.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
unimarc_field_123f.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
unimarc_field_123g.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
unimarc_field_123i.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
unimarc_field_123j.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
unimarc_field_124.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
unimarc_field_124a.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
unimarc_field_124b.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
unimarc_field_124c.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
unimarc_field_124d.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
unimarc_field_124e.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
unimarc_field_124f.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
unimarc_field_124g.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
unimarc_field_125.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
unimarc_field_125a.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
unimarc_field_125b.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
unimarc_field_126.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
unimarc_field_126a.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
unimarc_field_126b.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
unimarc_field_127.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
unimarc_field_128a.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
unimarc_field_128b.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
unimarc_field_128c.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
unimarc_field_130.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
unimarc_field_135a.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
unimarc_field_140.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
unimarc_field_141.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
unimarc_field_210c.pl Bug 16154: CGI->multi_param - Force scalar context 2016-04-26 23:16:43 +00:00
unimarc_field_210c_bis.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
unimarc_field_225a.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
unimarc_field_225a_bis.pl Bug 14793: New cataloguing plugin unimarc_field_225a_bis 2016-07-22 17:27:36 +00:00
unimarc_field_686a.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
unimarc_field_700-4.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
unimarc_leader.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
upload.pl Bug 14321: Integrate Upload.pm into Koha 2015-09-25 12:02:52 -03:00