diff options
Diffstat (limited to 'lib/edit.sh')
| -rwxr-xr-x | lib/edit.sh | 2 |
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[@]}" } |
