Skip to content

fix: Ensure empty priority would be interpreted with correct value#1169

Open
HsiuCL wants to merge 1 commit intoobsidian-community:mainfrom
HsiuCL:fix/priority-sort
Open

fix: Ensure empty priority would be interpreted with correct value#1169
HsiuCL wants to merge 1 commit intoobsidian-community:mainfrom
HsiuCL:fix/priority-sort

Conversation

@HsiuCL
Copy link
Copy Markdown

@HsiuCL HsiuCL commented Oct 11, 2025

Ensure that Empty Priority is Interpreted with the Correct Value

Problem

According to the Obsidian Tasks Document, the order of priority from highest to lowest is as follows:

  1. 🔺 for highest priority
  2. ⏫ for high priority
  3. 🔼 for medium priority
  4. use no signifier to indicate no priority
  5. 🔽 for low priority
  6. ⏬️ for lowest priority

However, prior to the change, the absence of a priority (4.) was not assigned the correct value during sorting, resulting in it consistently appearing below any other tasks with a priority, even those of a lower rank.

Solution and Change

Update the metadata sorting to explicitly use the correct value (i.e., Priority.None) during the sorting process.

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.

1 participant