pass readthrough id to shelf_selector

- allows user to move book from a shelf to the 'Read' shelf using the move button.
This commit is contained in:
Hugh Rundle
2021-11-20 10:29:17 +11:00
parent 373cc2c762
commit c6a2de3bbc
2 changed files with 3 additions and 3 deletions

View File

@ -162,7 +162,7 @@
<li class="box">
{% blocktrans with path=shelf.shelf.local_path shelf_name=shelf.shelf.name %}<a href="{{ path }}">{{ shelf_name }}</a>{% endblocktrans %}
<div class="mb-3">
{% include 'snippets/shelf_selector.html' with current=shelf.shelf class="is-small" %}
{% include 'snippets/shelf_selector.html' with current=shelf.shelf class="is-small" readthrough=readthrough %}
</div>
</li>
{% endfor %}