pierrejeambrun commented on issue #29322:
URL: https://github.com/apache/airflow/issues/29322#issuecomment-1444385248

   Hello @amoghrajesh,
   
   Sorting is done in the [db 
query](https://github.com/apache/airflow/blob/main/airflow/www/views.py#L780). 
The template renders that into a table in the same order.
   
   What we need to do is keep the query parameters that are responsible for the 
sorting when redirecting to a new page. As mentioned by Brent, `generate_pages` 
is taking care of that. You need to update it so it can handle the 
`sorting_key` and `sorting_direction` query param. (The view will take care of 
querying the proper data and rendering it in the correct order as long as the 
requested URL has those 2 extra query params)


-- 
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]

Reply via email to