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

Add bulk reading log query #6262

Merged
merged 2 commits into from
Mar 8, 2022

Conversation

jimchamp
Copy link
Collaborator

@jimchamp jimchamp commented Mar 8, 2022

Fetches all reading log entries at once on search results pages if the patron is logged in.

Technical

Testing

Screenshot

Stakeholders

Copy link
Member

@mekarpeles mekarpeles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mekarpeles
Copy link
Member

One possible improvement I might have made is having the ReadingLogDropper macro just look for the field it needs on the work itself (so no other templates have to get involved).

But I don't think this is a blocking change; I just imagine we'll probably DRY and be doing this sort of thing in other places / templates in the future

But I think we can handle that when we get there :) this is a great step forward

@mekarpeles mekarpeles merged commit 33b4ede into internetarchive:master Mar 8, 2022
@jimchamp jimchamp deleted the bulk-reading-log branch July 15, 2022 23:12
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