[Koha-bugs] [Bug 21575] New: Fix ArticleRequestsMandatoryFieldsItem(s)Only variants

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 15 18:52:34 CEST 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21575

            Bug ID: 21575
           Summary: Fix ArticleRequestsMandatoryFieldsItem(s)Only variants
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: katrin.fischer at bsz-bw.de
        QA Contact: testopia at bugs.koha-community.org

The ArticleRequestsMandatoryFieldsItemsOnly shows up on the local use pref tab,
because there is a mismatch between what's in the database and what we have in
the yaml file and templates:


With S:

installer/data/mysql/sysprefs.sql:('ArticleRequestsMandatoryFieldsItemsOnly',
'', NULL, 'Comma delimited list of required fields for bibs where article
requests rule = ''item_only''', 'multiple'),
installer/data/mysql/updatedatabase.pl:           
('ArticleRequestsMandatoryFieldsItemsOnly', '', NULL, 'Comma delimited list of
required fields for bibs where article requests rule = ''item_only''',
'multiple'),

Without S:

ArticleRequestsMandatoryFieldsItemOnly
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref:    
       - pref: ArticleRequestsMandatoryFieldsItemOnly
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-request-article.tt:            [%
IF article_request_type == 'item_only' %] [% SET mandatory_fields =
Koha.Preference('ArticleRequestsMandatoryFieldsItemOnly') %]   [% END %]

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list