Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin
Nick Clemens 5a3a9a17c6 Bug 27069: (follow-up) Only display rules if one is set
Testing that the rule is != 'hold_allowed' is true for each itemtype where
the rule is not set. This means it appears that no holds are allowed
for any item type if no rules are set

To test:
1 - With a fresh testing DB or no holdallowed rule set, you can use SQl below to clear:
    DELETE from circuation_rules WHERE rule_name='holdallowed';
2 - Load smart-rules.pl (Administration->Circulation and fines rules)
3 - Scroll to "Default holds policy by item type"
4 - Note all item types appear as 'No holds allowed'
5 - Apply patch
6 - Reload
7 - All clear
8 - Confirm adding rules displays correctly

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-04-12 17:29:47 +02:00
..
preferences Bug 14233: DB changes - NoticesLog pref + letter.id PK 2021-04-09 15:45:12 +02:00
searchengine/elasticsearch Bug 27846: (follow-up) Add id back to breadcrumbs container 2021-04-01 18:51:38 +02:00
additional-fields.tt Bug 27846: (follow-up) Add id back to breadcrumbs container 2021-04-01 18:51:38 +02:00
admin-home.tt Bug 27846: (follow-up) Add id back to breadcrumbs container 2021-04-01 18:51:38 +02:00
adveditorshortcuts.tt Bug 27846: (follow-up) Add id back to breadcrumbs container 2021-04-01 18:51:38 +02:00
aqbudgetperiods.tt Bug 27975: Replace obsolete title-string sorting: Administration templates 2021-04-06 15:56:30 +02:00
aqbudgets.tt Bug 27846: (follow-up) Add id back to breadcrumbs container 2021-04-01 18:51:38 +02:00
aqcontract.tt Bug 27846: (follow-up) Add id back to breadcrumbs container 2021-04-01 18:51:38 +02:00
aqplan.tt Bug 28066: Remove select tag's size attribute where it is 1 2021-04-06 15:56:31 +02:00
audio_alerts.tt Bug 27846: (follow-up) Add id back to breadcrumbs container 2021-04-01 18:51:38 +02:00
auth_subfields_structure.tt Bug 28066: Remove select tag's size attribute where it is 1 2021-04-06 15:56:31 +02:00
auth_tag_structure.tt Bug 28066: Remove select tag's size attribute where it is 1 2021-04-06 15:56:31 +02:00
authorised_values.tt Bug 28066: Remove select tag's size attribute where it is 1 2021-04-06 15:56:31 +02:00
authtypes.tt Bug 27846: (follow-up) Add id back to breadcrumbs container 2021-04-01 18:51:38 +02:00
background_jobs.tt Bug 27846: (follow-up) Add id back to breadcrumbs container 2021-04-01 18:51:38 +02:00
biblio_framework.tt Bug 27846: (follow-up) Add id back to breadcrumbs container 2021-04-01 18:51:38 +02:00
branch_transfer_limits.tt Bug 27846: (follow-up) Add id back to breadcrumbs container 2021-04-01 18:51:38 +02:00
branches.tt Bug 27846: (follow-up) Add id back to breadcrumbs container 2021-04-01 18:51:38 +02:00
cash_registers.tt Bug 27846: (follow-up) Add id back to breadcrumbs container 2021-04-01 18:51:38 +02:00
categories.tt Bug 27846: (follow-up) Add id back to breadcrumbs container 2021-04-01 18:51:38 +02:00
checkmarc.tt Bug 27846: (follow-up) Add id back to breadcrumbs container 2021-04-01 18:51:38 +02:00
cities.tt Bug 27846: (follow-up) Add id back to breadcrumbs container 2021-04-01 18:51:38 +02:00
classsources.tt Bug 27846: (follow-up) Add id back to breadcrumbs container 2021-04-01 18:51:38 +02:00
clone-rules.tt Bug 27846: (follow-up) Add id back to breadcrumbs container 2021-04-01 18:51:38 +02:00
columns_settings.tt Bug 27846: (follow-up) Add id back to breadcrumbs container 2021-04-01 18:51:38 +02:00
credit_types.tt Bug 27846: (follow-up) Add id back to breadcrumbs container 2021-04-01 18:51:38 +02:00
currency.tt Bug 27975: Replace obsolete title-string sorting: Administration templates 2021-04-06 15:56:30 +02:00
debit_types.tt Bug 27846: (follow-up) Add id back to breadcrumbs container 2021-04-01 18:51:38 +02:00
desks.tt Bug 28121: Correct the place of the question mark 2021-04-12 15:27:50 +02:00
didyoumean.tt Bug 27846: (follow-up) Add id back to breadcrumbs container 2021-04-01 18:51:38 +02:00
edi_accounts.tt Bug 27846: (follow-up) Add id back to breadcrumbs container 2021-04-01 18:51:38 +02:00
edi_ean_accounts.tt Bug 27846: (follow-up) Add id back to breadcrumbs container 2021-04-01 18:51:38 +02:00
item_circulation_alerts.tt Bug 27846: (follow-up) Add id back to breadcrumbs container 2021-04-01 18:51:38 +02:00
items_search_field.tt Bug 27846: (follow-up) Add id back to breadcrumbs container 2021-04-01 18:51:38 +02:00
items_search_fields.tt Bug 27846: (follow-up) Add id back to breadcrumbs container 2021-04-01 18:51:38 +02:00
itemtypes.tt Bug 27846: (follow-up) Add id back to breadcrumbs container 2021-04-01 18:51:38 +02:00
koha2marclinks.tt Bug 27846: (follow-up) Add id back to breadcrumbs container 2021-04-01 18:51:38 +02:00
library_groups.tt Bug 27846: (follow-up) Add id back to breadcrumbs container 2021-04-01 18:51:38 +02:00
localization.tt
marc_subfields_structure.tt Bug 28066: Remove select tag's size attribute where it is 1 2021-04-06 15:56:31 +02:00
marctagstructure.tt Bug 28066: Remove select tag's size attribute where it is 1 2021-04-06 15:56:31 +02:00
matching-rules.tt Bug 27846: (follow-up) Add id back to breadcrumbs container 2021-04-01 18:51:38 +02:00
oai_set_mappings.tt Bug 27846: (follow-up) Add id back to breadcrumbs container 2021-04-01 18:51:38 +02:00
oai_sets.tt Bug 27846: (follow-up) Add id back to breadcrumbs container 2021-04-01 18:51:38 +02:00
overdrive.tt Bug 27846: (follow-up) Add id back to breadcrumbs container 2021-04-01 18:51:38 +02:00
patron-attr-types.tt Bug 27846: (follow-up) Add id back to breadcrumbs container 2021-04-01 18:51:38 +02:00
preferences.tt Bug 27846: (follow-up) Add id back to breadcrumbs container 2021-04-01 18:51:38 +02:00
share_content.tt Bug 27846: (follow-up) Add id back to breadcrumbs container 2021-04-01 18:51:38 +02:00
smart-rules.tt Bug 27069: (follow-up) Only display rules if one is set 2021-04-12 17:29:47 +02:00
sms_providers.tt Bug 27846: (follow-up) Add id back to breadcrumbs container 2021-04-01 18:51:38 +02:00
smtp_servers.tt Bug 27846: (follow-up) Add id back to breadcrumbs container 2021-04-01 18:51:38 +02:00
sru_modmapping.tt
sru_modmapping_auth.tt
systempreferences.tt Bug 27846: (follow-up) Add id back to breadcrumbs container 2021-04-01 18:51:38 +02:00
transfer_limits.tt Bug 26633: (QA follow-up) Add error handling for loading transfer limits table 2021-03-16 16:08:30 +01:00
transport-cost-matrix.tt Bug 27846: (follow-up) Add id back to breadcrumbs container 2021-04-01 18:51:38 +02:00
usage_statistics.tt Bug 27846: (follow-up) Add id back to breadcrumbs container 2021-04-01 18:51:38 +02:00
z3950servers.tt Bug 27846: (follow-up) Add id back to breadcrumbs container 2021-04-01 18:51:38 +02:00