diff --git a/scipost_django/edadmin/views/incoming.py b/scipost_django/edadmin/views/incoming.py index 2791a908645a743ddc7e25a37e6d17cf32499df3..0da87651fc035b15a6345cac7459135478d94ba1 100644 --- a/scipost_django/edadmin/views/incoming.py +++ b/scipost_django/edadmin/views/incoming.py @@ -232,9 +232,9 @@ def _hx_submission_admission(request, identifier_w_vn_nr): ) mail_util.send_mail() submission.refresh_from_db() - # redirect to the edadmin page so that all is refreshed response = HttpResponse() - response["HX-Redirect"] = reverse("submissions:pool:pool") + # trigger refresh of pool listing + response["HX-Trigger-After-Settle"] = "search-conditions-updated" return response context = {"submission": submission, "form": form,} return render(