From 4749705439558f8569546dc52726e5fee5dc9800 Mon Sep 17 00:00:00 2001
From: George Katsikas <giorgakis.katsikas@gmail.com>
Date: Wed, 13 Mar 2024 11:21:55 +0100
Subject: [PATCH] fix incorrect url reversal

---
 .../templates/finances/_hx_subsidyattachment_list_page.html     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scipost_django/finances/templates/finances/_hx_subsidyattachment_list_page.html b/scipost_django/finances/templates/finances/_hx_subsidyattachment_list_page.html
index d8ee47ac4..357de43ed 100644
--- a/scipost_django/finances/templates/finances/_hx_subsidyattachment_list_page.html
+++ b/scipost_django/finances/templates/finances/_hx_subsidyattachment_list_page.html
@@ -14,7 +14,7 @@
   <tr id="orphaned-subsidies-results-load-next"
       class="htmx-indicator"
       hx-swap-oob="true"
-      hx-post="{% url 'finances:_hx_subsidyattachment_list_page' identifier_w_vn_nr=submission.preprint.identifier_w_vn_nr %}?page={{ page_obj.next_page_number }}"
+      hx-post="{% url 'finances:_hx_subsidyattachment_list_page' %}?page={{ page_obj.next_page_number }}"
       hx-target="#orphaned-subsidies-results"
       hx-include="#orphaned-subsidies-form"
       hx-trigger="revealed"
-- 
GitLab