Fixes active readthrough cache bug

This commit is contained in:
Mouse Reeve 2022-01-11 12:37:07 -08:00
parent 0abfc67c12
commit 591bb955f8

View file

@ -139,12 +139,11 @@ def active_shelf(context, book):
shelf__user=u,
book__parent_work__editions=b,
).first()
)
or {"book": book},
),
user,
book,
timeout=15552000,
)
) or {"book": book}
@register.simple_tag(takes_context=False)