aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Stepanov Aleksey <blueingreen@bluig.xyz>2025-08-08 06:59:55 +0500
committerLibravatar Stepanov Aleksey <blueingreen@bluig.xyz>2025-08-08 06:59:55 +0500
commit0e96910b1947d1acc8cfd4223e6d61884328292a (patch)
treeb7c7f202ee81718120a15b131484eb25698c430b
parentce97ea9826d63072c676f007d4f9e1526cb32f8d (diff)
tasks sort_by UDA order in getIdsTask function
-rwxr-xr-xlib/edit.sh2
1 files changed, 1 insertions, 1 deletions
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[@]}"
}