forked from mirrors/bookwyrm
Fixes active readthrough cache bug
This commit is contained in:
parent
0abfc67c12
commit
591bb955f8
1 changed files with 2 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue