[Koha-bugs] [Bug 22129] New: Report 1.3.3 Patrons Whose Age Violates Category Age Limits (finds nothing /is faulty)
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Jan 14 19:41:06 CET 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22129
Bug ID: 22129
Summary: Report 1.3.3 Patrons Whose Age Violates Category Age
Limits (finds nothing /is faulty)
Change sponsored?: ---
Product: Koha
Version: 18.05
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Reports
Assignee: koha-bugs at lists.koha-community.org
Reporter: Heinrich.Hartl at email.de
QA Contact: testopia at bugs.koha-community.org
Target Milestone: ---
The report is faulty: For MaxAge a value specified correctly in the category is
overidden and replaced by 999. Therefore no violation of MaxAge is found by
this report.
I made a quick and dirty correction:
$ diff Rep*
7c7,8
< GREATEST ( c.upperagelimit, 999 ) AS MaxAge,
---
> # GREATEST ( c.upperagelimit, 999 ) AS MaxAge,
> c.upperagelimit AS MaxAge,
19c20,23
< # age NOT BETWEEN MinAge AND MaxAge
---
> age < MinAge or ( age > MaxAge And Maxage > 0 )
--
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