Skip to content

Instantly share code, notes, and snippets.

@iaindooley
Created November 8, 2019 01:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iaindooley/97098272a9fb87effbdc4db3917e8e1a to your computer and use it in GitHub Desktop.
Save iaindooley/97098272a9fb87effbdc4db3917e8e1a to your computer and use it in GitHub Desktop.
Sort all lists by due date descending
function sortAllListsByDueDateDescending(params,signature,original_time)
{
new Board(params).lists().each(function(list)
{
list.sort(List.SORT_DATE_DESC);
});
ExecutionQueue.push("sortAllListsByDueDateDescending",params,signature,original_time.addHours(24));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment