[Koha-bugs] [Bug 31784] New: SingleBranchMode ignores public flag

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 14 08:17:26 CEST 2022


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

            Bug ID: 31784
           Summary: SingleBranchMode ignores public flag
 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: m.de.rooy at rijksmuseum.nl
        QA Contact: testopia at bugs.koha-community.org

The test in C4/Auth.pm:
singleBranchMode   => ( Koha::Libraries->search->count == 1 ),
misses a fundamental condition, i.e. public should be true.

C4/XSLT.pm:    my $singleBranchMode = Koha::Libraries->search->count == 1 ? 1 :
0;

t/Koha.t:    is ( Koha::Libraries->search->count, 1, 'There should be only 1
library (singleBranchMode on)' );

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


More information about the Koha-bugs mailing list