Custom Dashlet and default sort order on a specifi field

Hello Slight smile

is there a way to set up a default sort order on a specific field in an custom dashlet ?

i thought it was possible (via metadata) in the dashlet view declaration but nothing happend. :(

  • If you are using a custom dashlet; when you make the call to the API; include order_by or whatever your API can accepts.

  • it's a dashable list, i've choosen the module i want to list in the configuration option of my dashlet, i've not created a custom API. so i though it was possible in javascript to set order to the collection at initialize.