Koha-clms/admin
Nick Clemens 82ef4bf41b Bug 32797: Check if fields have a value, not if true
When saving OAI set mappgins we are checking for truth, this prevents
saving subfield 0. We should check for content

To test:
1 - Go to Admin->OAI sets
2 - Create a set
3 - Define mappings for the set
4 - Attempt to save a rule on field 952 subfield 0 (withdrawn)
5 - It does not save
6 - Apply patch
7 - Try again
8 - Success!

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 6f606e00c5)
Signed-off-by: Jacob O'Mara <jacob.omara@ptfs-europe.com>
(cherry picked from commit 677e68c7f1)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 94bb81502b)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
2023-02-17 13:08:30 +01:00
..
searchengine/elasticsearch Bug 15048: Index all possible searched subfields for index-term-genre 2022-12-16 16:42:38 +01:00
add_user_search.pl
…
additional-fields.pl
…
admin-home.pl Bug 31401: Update administration sidebar to match entries on administration start page 2022-11-14 14:46:28 +01:00
adveditorshortcuts.pl
…
aqbudgetperiods.pl Bug 29429: (bug 17600 follow-up) Fix import in aqbudgetperiods.pl 2021-11-08 12:11:44 +01:00
aqbudgets.pl
…
aqcontract.pl
…
aqplan.pl Bug 28327: Unify CSV delimiter special behavior for tabulation 2022-10-19 05:07:19 +02:00
audio_alerts.pl
…
auth_subfields_structure.pl
…
auth_tag_structure.pl
…
authorised_values.pl Bug 31976: Incorrect default category selected by authorized values page 2022-12-16 17:07:35 +01:00
authtypes.pl
…
background_jobs.pl Bug 31245: Do not call report for job detail view if job not started 2022-10-12 15:52:05 +02:00
biblio_framework.pl Bug 31196: Remove 'default_value_for_mod_marc-' clear_from_cache calls 2022-12-16 17:01:38 +01:00
branch_transfer_limits.pl Bug 18247: Remove SQL queries from branch_transfer_limit.pl 2023-02-17 13:08:30 +01:00
branches.pl Bug 31785: (follow-up) Fix modify operation too 2022-12-16 14:21:07 +01:00
cash_registers.pl
…
categories.pl
…
check_budget_parent.pl
…
check_parent_total.pl
…
checkmarc.pl
…
cities.pl
…
classsources.pl
…
clone-rules.pl
…
columns_settings.pl
…
columns_settings.yml Bug 32348: Add library public in columns settings 2023-01-26 11:57:34 +01:00
credit_types.pl
…
currency.pl
…
debit_types.pl
…
desks.pl
…
didyoumean.pl
…
edi_accounts.pl
…
edi_ean_accounts.pl
…
import_export_framework.pl
…
item_circulation_alerts.pl
…
items_search_field.pl
…
items_search_fields.pl
…
itemtypes.pl Bug 29040: Remove warning from the itemtype edit view 2021-12-17 09:02:00 -05:00
koha2marclinks.pl Bug 31196: Remove 'default_value_for_mod_marc-' clear_from_cache calls 2022-12-16 17:01:38 +01:00
library_groups.pl
…
localization.pl
…
marc-overlay-rules.pl Bug 14957: Fix perlcritic error on admin/marc-overlay-rules.pl 2021-10-27 09:16:42 +02:00
marc_subfields_structure.pl Bug 31196: Remove 'default_value_for_mod_marc-' clear_from_cache calls 2022-12-16 17:01:38 +01:00
marctagstructure.pl Bug 31196: Remove 'default_value_for_mod_marc-' clear_from_cache calls 2022-12-16 17:01:38 +01:00
matching-rules.pl
…
oai_set_mappings.pl Bug 32797: Check if fields have a value, not if true 2023-02-17 13:08:30 +01:00
oai_sets.pl
…
overdrive.pl
…
patron-attr-types.pl
…
preferences.pl
…
share_content.pl
…
smart-rules.pl Bug 30694: Set decreaseloanholds undef when deleting circulation rule 2023-01-26 11:49:50 +01:00
sms_providers.pl
…
smtp_servers.pl
…
sru_modmapping.pl
…
systempreferences.pl
…
transfer_limits.pl
…
transport-cost-matrix.pl
…
usage_statistics.pl
…
z3950servers.pl
…