about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--uploader/templates/publications/edit-publication.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/uploader/templates/publications/edit-publication.html b/uploader/templates/publications/edit-publication.html
index 540ecf1..97fa134 100644
--- a/uploader/templates/publications/edit-publication.html
+++ b/uploader/templates/publications/edit-publication.html
@@ -12,7 +12,9 @@
 <div class="row">
   <form id="frm-create-publication"
         method="POST"
-        action="{{url_for('publications.edit_publication', publication_id=publication_id, **request.args)}}"
+        action="{{url_for('publications.edit_publication',
+                publication_id=publication_id,
+                next=request.args.get('next', ''))}}"
         class="form-horizontal">
 
     <div class="row mb-3">