ashb commented on a change in pull request #20955:
URL: https://github.com/apache/airflow/pull/20955#discussion_r787840700
##########
File path: airflow/www/templates/airflow/dag.html
##########
@@ -153,11 +153,11 @@ <h4 class="pull-right" style="user-select:
none;-moz-user-select: auto;">
<input type="hidden" name="csrf_token" value="{{
csrf_token() }}">
<input type="hidden" name="dag_id" value="{{ dag.dag_id }}">
<input type="hidden" name="unpause" value="True">
- <input type="hidden" name="origin" value="{{
url_for('Airflow.' + dag.default_view, dag_id=dag.dag_id) }}">
+ <input type="hidden" name="origin" value="{{
request.full_path }}">
Review comment:
Argh, full_path includes the query string, which is a bit of a problem.
If you have changed the date controls and are viewing an "old" run (in time,
not out of date) then the run you have just triggered won't be visible. Not
great UX.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]