django-debug-toolbar icon indicating copy to clipboard operation
django-debug-toolbar copied to clipboard

Feature Request: Add column sorting option for SQL query panel

Open troygrosfield opened this issue 11 years ago • 4 comments

A common use case for the SQL query panel is to check and see if you're running over a loop in your code which is causing many queries over the same object (i.e. the same query continuing to unnecessarily occur over and over again).

The feature request here would be to allow sorting of the columns in the SQL panel so I can sort by query or time. What would even be better was if we had the option to group by query.

via jquery

  • http://blog.teamtreehouse.com/how-to-code-sortable-tabular-data-with-jquery

via plain js

  • http://www.kryogenix.org/code/browser/sorttable/
  • http://stackoverflow.com/a/7558600/1007358

Thanks a ton for building a super awesome tool!!

troygrosfield avatar Dec 03 '13 14:12 troygrosfield

There's some overlap with #27.

aaugustin avatar Dec 08 '13 22:12 aaugustin

Any plans to actually implement sorting?

clintonb avatar Sep 01 '16 18:09 clintonb

Until a contributor submits a pull request, you can safely assume there's no plan.

aaugustin avatar Sep 02 '16 07:09 aaugustin

I have added dataTables for SQL pannel, if this ok i will make a pull request

image

Lakshmikanth2001 avatar Mar 16 '23 17:03 Lakshmikanth2001