[Koha-bugs] [Bug 25115] New: Use get_effective_rule for getting rental discount

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Apr 11 22:23:46 CEST 2020


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

            Bug ID: 25115
           Summary: Use get_effective_rule for getting rental discount
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Fines and fees
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: lari.taskula at hypernova.fi
        QA Contact: testopia at bugs.koha-community.org

We have this logic for searching rentaldiscount rule
https://github.com/Koha-Community/Koha/blob/6ac037f817def256c85706413036bee3f78ed40e/C4/Circulation.pm#L3304-L3326

Why? This is against documentation on sorting order of circulation rules in the
user interface.

Use Koha::CirculationRules->get_effective_rule() instead.

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