From 0e96910b1947d1acc8cfd4223e6d61884328292a Mon Sep 17 00:00:00 2001 From: Stepanov Aleksey Date: Fri, 8 Aug 2025 06:59:55 +0500 Subject: tasks sort_by UDA order in getIdsTask function --- lib/edit.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/edit.sh b/lib/edit.sh index 3b2c878..034670e 100755 --- a/lib/edit.sh +++ b/lib/edit.sh @@ -42,7 +42,7 @@ function getIdsTask() { nameProject=$(getNameProject "$1") - readarray -t idsTaskProject < <(task project:"$nameProject" +current _ids) + readarray -t idsTaskProject < <(task project:"$nameProject" +current export | jq -r 'sort_by(.order)[] | .id') printf '%s\n' "${idsTaskProject[@]}" } -- cgit