tweak the list jql for more visually pleasing ordering

This commit is contained in:
Daan Boerlage 2025-01-21 22:17:07 +01:00
parent a3352aa892
commit 054d66bf9c
Signed by: daan
GPG key ID: FCE070E1E4956606

View file

@ -19,7 +19,8 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
markdown_file, markdown_file,
} => cmd::create::create(project, open, markdown_file).await?, } => cmd::create::create(project, open, markdown_file).await?,
Commands::List { output } => { Commands::List { output } => {
let jql = "assignee = currentUser() AND resolution = Unresolved order by updated DESC"; let jql =
"assignee = currentUser() AND resolution = Unresolved order by project,updated ASC";
cmd::search::exec(output, jql).await? cmd::search::exec(output, jql).await?
} }
Commands::Search { output, jql } => cmd::search::exec(output, &jql).await?, Commands::Search { output, jql } => cmd::search::exec(output, &jql).await?,