[Koha-bugs] [Bug 33567] New: Remove fallback for Reference_NFL_statuses in C4/XSLT module

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 20 08:44:56 CEST 2023


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

            Bug ID: 33567
           Summary: Remove fallback for Reference_NFL_statuses in C4/XSLT
                    module
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: m.de.rooy at rijksmuseum.nl
        QA Contact: testopia at bugs.koha-community.org

C4/XSLT contains this line:

my $ref_status = C4::Context->preference('Reference_NFL_Statuses') || '1|2';

This is a kind of undocumented fallback (that I introduced myself).
We should either add this to the pref text or just do what is kind of
intuitively expected: if the pref is empty, move all items to Not available.

Note that the installer creates the pref by default with 1|2. So this might be
a quite theoretical change for most.

-- 
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