Refactor stats endpoint so supports filtering people and make dashboard page utilise it
This commit is contained in:
@@ -158,7 +158,7 @@
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<div class="hidden" hx-get="{{ url_for('get_stats_for_person', person_id=person_id) }}" hx-trigger="load"
|
||||
<div class="hidden" hx-get="{{ url_for('get_stats') }}" hx-vals='{"person_id": "{{ person_id }}"}' hx-trigger="load"
|
||||
hx-target="#stats" hx-swap="innerHTML">
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user