Fix HTMX target for search results table

This commit is contained in:
Mark Veidemanis 2022-11-10 07:20:20 +00:00
parent f1a68f92a0
commit 1b2a02b5ab
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 4 additions and 4 deletions

View File

@ -83,7 +83,7 @@
hx-get="search/{% querystring table.prefixed_order_by_field=column.order_by_alias.next %}&{{ uri }}"
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
hx-trigger="click"
hx-target="#results"
hx-target="#drilldown-table"
hx-swap="innerHTML"
hx-indicator="#spinner"
style="cursor: pointer;">
@ -424,7 +424,7 @@
hx-get="search/{% querystring table.prefixed_page_field=table.page.previous_page_number %}&{{ uri }}"
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
hx-trigger="click"
hx-target="#results"
hx-target="#drilldown-table"
hx-swap="innerHTML"
hx-indicator="#spinner"
{% else %}
@ -444,7 +444,7 @@
hx-get="search/{% querystring table.prefixed_page_field=table.page.next_page_number %}&{{ uri }}"
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
hx-trigger="click"
hx-target="#results"
hx-target="#drilldown-table"
hx-swap="innerHTML"
hx-indicator="#spinner"
{% else %}
@ -473,7 +473,7 @@
hx-get="search/{% querystring table.prefixed_page_field=p %}&{{ uri }}"
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
hx-trigger="click"
hx-target="#results"
hx-target="#drilldown-table"
hx-swap="innerHTML"
hx-indicator="#spinner"
{% endif %}