Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin
Nuño López Ansótegui 62b2fc31bd
Bug 27981: Add option to automatically set 001 to the biblionumber
This patch adds a new system preference:
autoControlNumber

The option "biblionumber" will set field 001 to the biblionumber when you create a new record
or edit an existing record and clear the 001 field.

If a value is present in 001 when saving the record it will be preserved.

If set to 'OFF' the 001 field wil not be touched

When duplicating a record the 001 will be removed if autoControlNumber is set

To test:
 1 - Apply patches and updatedatabase
 2 - Create a new record with no 001 field
 3 - Save and view the MAC, confirm there is no 001
 4 - Set the system preference to 'biblionumber'
 5 - Edit the record you created previously
 6 - Note the 001 is prepopulated with the biblionumber
 7 - Delete the field
 8 - Save the record
 9 - View the MARC, the 001 is filled with biblionumber
10 - Edit the record
11 - Set the 001 to a different value "Not the biblionumber"
12 - Save
13 - View the marc and confirm the value you entered is retained
14 - Edit a record with an existing 001 that is not the biblionumber
15 - Save and confirm 001 is not updated

To test duplication:
1 - Edit a record as duplicate when using the advanced editor
2 - Confirm the 001 does not load, but record saves correctly
3 - Edit the record
4 - Switch to 'basic editor'
5 - Save, then view record
6 - Edit as duplicate in basic editor
7 - Confirm the 001 is removed
8 - Confirm the 001 is added on save

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Thomas Klausner <domm@plix.at>

Signed-off-by: Andrew Nugged <nugged@gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-09-12 15:17:36 -03:00
..
preferences Bug 27981: Add option to automatically set 001 to the biblionumber 2022-09-12 15:17:36 -03:00
searchengine/elasticsearch
additional-fields.tt
admin-home.tt Bug 23681: Add modify_patron_restrictions permission 2022-08-25 08:40:59 -03:00
adveditorshortcuts.tt
aqbudgetperiods.tt Bug 30718: Use flatpickr's altInput 2022-08-19 08:26:31 -03:00
aqbudgets.tt
aqcontract.tt Bug 30718: Use flatpickr's altInput 2022-08-19 08:26:31 -03:00
aqplan.tt
audio_alerts.tt
auth_subfields_structure.tt
auth_tag_structure.tt
authorised_values.tt Bug 31017: Add new vendor_type field to edit screen and display 2022-08-19 16:15:11 -03:00
authtypes.tt Bug 31398: Set focus on first input when adding a new authority type 2022-09-07 13:44:05 -07:00
background_jobs.tt Bug 30462: (QA follow-up) Tab name change 2022-09-08 10:46:32 -07:00
biblio_framework.tt Bug 31397: Set focus in first input when adding a new bibliographic framework 2022-09-07 13:42:47 -07:00
branch_transfer_limits.tt
branches.tt
cash_registers.tt Bug 27802: Set cursor focus in first input when adding a cash register 2022-09-07 13:42:13 -07:00
categories.tt Bug 27191: Set focus on first input when adding a new patron category 2022-09-07 13:45:20 -07:00
checkmarc.tt
cities.tt
classsources.tt Bug 31399: Set focus on first input when adding a new classification source, filing rule, or splitting rule 2022-09-07 13:43:39 -07:00
clone-rules.tt
columns_settings.tt Bug 29723: (QA follow-up) Ensure ID's match Module names 2022-08-16 10:12:27 -03:00
credit_types.tt
curbside_pickup.tt
currency.tt
debit_types.tt
desks.tt
didyoumean.tt
edi_accounts.tt
edi_ean_accounts.tt
item_circulation_alerts.tt
items_search_field.tt
items_search_fields.tt
itemtypes.tt
koha2marclinks.tt
library_groups.tt
localization.tt
marc-overlay-rules.tt Bug 31490: Terminology: change 'staff client' to 'staff interface' in marc-overlay-rule 2022-09-07 13:25:10 -07:00
marc_subfields_structure.tt Bug 31214: Make subfield code non-editable in MARC framework editor 2022-08-09 07:40:47 -03:00
marctagstructure.tt
matching-rules.tt Bug 31400: Set focus on first input when adding a new matching rule 2022-09-07 13:43:07 -07:00
oai_set_mappings.tt
oai_sets.tt
overdrive.tt
patron-attr-types.tt Bug 27193: Set focus on first input when adding a new patron attribute 2022-09-07 13:44:52 -07:00
preferences.tt
restrictions.tt Bug 23681: Move to ::Patron::Restriction::Type(s) 2022-08-25 08:50:35 -03:00
share_content.tt
smart-rules.tt Bug 20262: Add ability to refund lost item fees without creating credits 2022-08-26 15:55:41 -03:00
sms_providers.tt
smtp_servers.tt Bug 31435: (QA follow-up) Don't pass explicitly default parameter values 2022-09-07 12:08:05 -07:00
sru_modmapping.tt
sru_modmapping_auth.tt
systempreferences.tt
transfer_limits.tt
transport-cost-matrix.tt
usage_statistics.tt
z3950servers.tt