Make it possible to sort the Celery task table and RabbitMQ queue table
I'd like to be able to sort these two tables by clicking on the table headings.
Comments (16)
-
-
reporter It's easy to implement the sorting of the tables, but the
queues_upate
andtasks_update
JavaScript functions that are set to run every 2000 ms undo any column sorting that you have done. Hmm. -
Don't know of a solution to that. On the exports page the AJAX just updates current and failed, not whatever was existing when the page was loaded. But I don't think I could do that with RabbitMQ and Celery.
We could list them according to status I think in the view - active ones in a different table maybe.
-
reporter Made celery and rabbitmq tables sortable (but only in ascending order at the moment). References issue
#710[skip ci]→ <<cset ba5bdfa432b1>>
-
I'm planning on using the status and timestamp of the celery tasks to push most of them to a collapsed concertina panel to keep the list manageable. I think otherwise, with a flower service running for a while, it will go to 5000 tasks before they start dropping off. Which is too many :)
-
I meant to say - I won't do that until This is merged in, as I've made changes to recognise the different types of tasks.
-
reporter Celery and RabbitMQ tables can now be sorted in ascending or descending order by clicking on the headings. References issue
#710→ <<cset 3477d2cd1ee1>>
-
reporter - changed status to resolved
This was fixed in commit 20ff1d3, pull request #264
-
reporter - changed status to open
The 0.9.0 task tables cannot be sorted. Need to fix.
-
reporter - changed milestone to 0.9.1
-
reporter Added sorting to recent and older task tables. Needs some further testing. References issue
#710→ <<cset 27472cb4481a>>
-
reporter Corrected typo that prevented the
older
task table from being sorted. References issue#710→ <<cset 2a5f186dedc9>>
-
reporter I need to add a custom sort key to the two time-based columns so that they sort correctly. The solution will be similar to what I implemented for the home page tables in commit 6229e7ed5f54 as part of issue
#659. -
reporter Added number of seconds since
now
as custom sort field for the recent and older tasks. The tables now sort correctly. References issue#710→ <<cset 8b435b43d38a>>
-
reporter Changed default sorting so that
recent
andolder
task tables show most recent tasks at the top. This seems like the most sensible order to start with. References issue#710→ <<cset e9be89689bf5>>
-
- changed status to resolved
Merged in issue710sortTaskTables (pull request #293)
Fixes
#710Approved-by: Ed McDonagh
→ <<cset 20531c9213df>>
- Log in to comment
Me too! Also, looks like I need to find a way of dropping them off. But not for this issue!