Bug 26488 - Overdue report download not respecting custom patron attribute filter
Summary: Overdue report download not respecting custom patron attribute filter
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Reports (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-18 14:08 UTC by Chad Billman
Modified: 2022-07-15 19:11 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chad Billman 2020-09-18 14:08:31 UTC
We have a number of custom patron attributes to track things like graduation year, homeroom, etc.

The overdue report circ/overdue.pl allows us to apply a filter on those attributes and the html table is displayed correctly. However when you click the "Download file of displayed overdues" the custom attributes are not included in the filter.

The attributes are also missing from the generated CSV so it is impossible to filter the export after the download.
Comment 1 Katrin Fischer 2022-07-05 12:20:30 UTC
I believe I have seen a fix for this one - needs some more digging/retesting maybe.
Comment 2 Katrin Fischer 2022-07-15 19:11:05 UTC
This is still valid on current master. To test:

* Create a new patron attribute TEST as a free text field
* Make sure at least 2 patrons in your installation have checked out items
* Edit one of those patrons and fill the TEST attribute with test
* Go to Circulation > Overdues
* Check the checkbox on top to show all checkouts
* Verfiy both your patrons show up
* Limit search by searching for test in your TEST attribute
* Verify the correct patrons show in the search result list
* BUT: download the list: it will show all patrons with checkouts again