1
0
Fork 0

Asyncronously set related fields

This commit is contained in:
Mouse Reeve 2020-12-08 09:43:12 -08:00
parent 4d4ee8b8c3
commit cc42e9d149
4 changed files with 57 additions and 23 deletions

View file

@ -86,8 +86,8 @@
{% endif %}
{% if book.parent_work.edition_set.count > 1 %}
<p><a href="/book/{{ book.parent_work.id }}/editions">{{ book.parent_work.edition_set.count }} editions</a></p>
{% if book.parent_work.editions.count > 1 %}
<p><a href="/book/{{ book.parent_work.id }}/editions">{{ book.parent_work.editions.count }} editions</a></p>
{% endif %}
</div>