[Koha-bugs] [Bug 33395] New: Patron search results shows only overdues if patron has overdues

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Apr 3 18:20:48 CEST 2023


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

            Bug ID: 33395
           Summary: Patron search results shows only overdues if patron
                    has overdues
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Patrons
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: caroline.cyr-la-rose at inlibro.com
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com

When you search for patrons, in the results table, there is a Checkouts column.

If the patron has no checkouts, it shows 0 / 0 (0 overdues / 0 total
checkouts).

If the patron has checkouts but no overdues, it shows, for example, 0 / 1 (0
overdues / 1 total checkout).

If the patron has only overdues, it shows, for example, only 1 in red (1
overdue ?? total checkouts?).

If the patron has checkouts and overdues, it shows, for example, only 1 in red
also (1 overdue ?? total checkouts?)

It's like if there are overdues, the number of checkouts disappear.

To replicate:
1. Make sure SpecifyDueDate is enabled
2. Have 4 patrons (I used 4 patrons with B last names to see them all in one
go)
3. Checkout items as follows
   -  Checkout 1 item normally to Patron A
   -  Checkout 1 item to Patron B, specifying a due date in the past
   -  Checkout 1 item normally and 1 item with a past due date to Patron C
   -  Nothing to Patron D
4. Go to Patrons and search for the patrons, making sure there are more than
one results
   --> In the results table, the Checkouts column is like this
       Patron A: 0 / 1
       Patron B: 1 (red)
       Patron C: 1 (red)
       Patron D: 0 / 0

For Patron B, it should be (I think?) 1 / 1
For Patron C, it should be (I think?) 1 / 2

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