Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin
Nick Clemens 1b6ed8097e Bug 29073: Use 0 and 1 as values for DefaultHoldExpirationdate
DefaultHldexpirationDate is set in the pref screen to 'yes/no'

The code checks if the preference is 'true', 'no' is true

We should instead use 1/0

To test:
0 - Have a fresh devbox
1 - With syspref disabled, place a hold
2 - Note no expiration date set
3 - Enable the preference
4 - Place a hold and note the expiration date is set, good
5 - Disable the pref
6 - Place a hold and note the expiration date is set, bad
7 - Apply patch
8 - Update database
9 - Repeat 1-8, date not set when pref disabled

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-09-28 15:12:44 +02:00
..
preferences Bug 29073: Use 0 and 1 as values for DefaultHoldExpirationdate 2021-09-28 15:12:44 +02:00
searchengine/elasticsearch
additional-fields.tt
admin-home.tt
adveditorshortcuts.tt
aqbudgetperiods.tt
aqbudgets.tt
aqcontract.tt
aqplan.tt
audio_alerts.tt
auth_subfields_structure.tt
auth_tag_structure.tt
authorised_values.tt
authtypes.tt
background_jobs.tt Bug 28149: (follow-up) Add string for job status "new" 2021-09-09 10:59:38 +02:00
biblio_framework.tt
branch_transfer_limits.tt
branches.tt Bug 28704: Library MARCOrgCode field needs maxlength attribute 2021-07-30 16:07:38 +02:00
cash_registers.tt
categories.tt Bug 28376: Replace jQueryUI date/timepicker with Flatpickr 2021-08-30 18:08:04 +02:00
checkmarc.tt
cities.tt
classsources.tt
clone-rules.tt
columns_settings.tt
credit_types.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 Bug 28985: Force positive numbers for itemtype charge fields 2021-09-20 14:04:48 +02:00
koha2marclinks.tt
library_groups.tt
localization.tt
marc_subfields_structure.tt
marctagstructure.tt
matching-rules.tt
oai_set_mappings.tt
oai_sets.tt
overdrive.tt
patron-attr-types.tt Bug 28347: Add DataTables, additional information to patron attribute types management 2021-07-26 12:46:32 +02:00
preferences.tt Bug 28912: Prevent Pseudonymization to be set if bcrypt_settings not set 2021-09-09 10:59:38 +02:00
share_content.tt
smart-rules.tt Bug 28986: Remove (All) notation to correctly select rule for editing 2021-09-20 12:06:59 +02:00
sms_providers.tt
smtp_servers.tt
sru_modmapping.tt
sru_modmapping_auth.tt
systempreferences.tt
transfer_limits.tt
transport-cost-matrix.tt
usage_statistics.tt
z3950servers.tt