Skip to content

Honor the Relationships Base sort for standalone subtasks - #2713

Open
callumalpass wants to merge 1 commit into
mainfrom
fix/2712-subtask-view-sort
Open

callumalpass wants to merge 1 commit into
mainfrom
fix/2712-subtask-view-sort

Conversation

@callumalpass

Copy link
Copy Markdown
Owner

Fixes #2712.

The Task Edit modal and standalone cards inside task notes now order their subtasks using the configured Relationships Base’s Subtasks view. Obsidian evaluates the sort properties and formulas in the parent note’s context. The modals and cards keep their existing set of subtasks, even when the Base view filters or limits its own results.

The 4.8.0 change for #1822 made the edit modal use the fixed relationship sort. #1610 and #2394 handled cards rendered inside a Bases view. The 5.0.0 tag still uses the fixed sort for both standalone surfaces.

Verification

  • Reproduced the mismatch on both surfaces in isolated Obsidian 1.14.4, then repeated the same steps with the fixed build and matched the native Bases table.
  • The modal and Reading view Playwright ordering assertions failed before the fix. The modal, Reading view, Live Preview, and existing Expanded subtasks ignore priorityWeight sort #2394 tests all passed with the fix in Obsidian 1.14.2.
  • Targeted Jest tests, lint, typecheck, production build, and the bundle-size check passed.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Sort Options from relationships.base not respected for Subtasks in Task Edit

1 participant