Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sort the members with overdue items report by most overdue and add borrow policy filters #1717

Merged

Conversation

crismali
Copy link
Contributor

What it does

This changes the members with overdue items report to:

  • always show members with the longest overdue items first
  • have filters by borrow policy

Why it is important

#1635 and #1636

UI Change Screenshot

The report with no filters active ("All"):
Screenshot_2024-10-26_at_5_59_48 PM

The report with an active filter:
Screenshot_2024-10-26_at_6_00_02 PM

Implementation notes

Maybe there's a better way to get everything out in a single activerecord query (ie without in) so I'm open to suggestions but this works pretty well.

@crismali crismali marked this pull request as ready for review October 26, 2024 23:09
@crismali crismali force-pushed the michael-1636-and-1635-members-with-overdue-tools-report branch from a339dc9 to 752742a Compare October 31, 2024 05:12
@crismali crismali merged commit 040bdb3 into main Oct 31, 2024
9 checks passed
@crismali crismali deleted the michael-1636-and-1635-members-with-overdue-tools-report branch October 31, 2024 05:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants