Files
pad/cmd
xarmian a3799a19a9 feat(cli): add --sort-order flag to pad item update (BUG-1536) (#596)
The only way to set items.sort_order from the CLI was --field
sort_order=N, which silently writes into the per-collection fields
JSON blob (dead data) instead of the top-level column the parent
view's ORDER BY reads. Add a first-class --sort-order int flag so
agents discover the proper path via pad item update --help.

The --field route is intentionally left alone — collection-schema
fields and top-level item columns share a namespace by accident,
and silently rerouting one key without the others would be more
surprising than the current behavior.
2026-05-19 17:28:31 -04:00
..