Revert change made in previous commit where if no exerises where selected manually then all would be

This commit is contained in:
Peter Stockings
2023-03-20 21:44:18 +11:00
parent f3c96ca11f
commit 37aaa9b3f3
2 changed files with 3 additions and 4 deletions

View File

@@ -34,8 +34,8 @@
<label class="block uppercase tracking-wide text-gray-700 text-xs font-bold mb-2" for="grid-city">
Exercises
</label>
<select id="multiSelection" data-te-select-init name="exercise_id"
class="bg-gray-50 border border-gray-300 " multiple hx-trigger="change"
<select id="multiSelection" data-te-select-init data-te-select-filter="true" name="exercise_id"
class="bg-gray-50 border border-gray-300 " multiple
hx-get="{{ url_for('get_person', person_id=person['PersonId']) }}"
hx-include="[name='min_date'],[name='max_date']" hx-target="#container" hx-push-url="true">
{% for e in person['Exercises'] %}