Obsidian CLI querying bases sorting doesn't account for "Group By"

Once you’ve done the above, delete everything above this line.

Steps to reproduce

  • Create a base
  • Add at least 4 notes to base
  • Add checkbox property
  • Add date property
  • Give each note the following properties
    • note1: Earliest date , checked
    • note2: Earlier date , unchecked
    • note3: Later date , checked
    • note4: Latest date , unchecked
  • Group by checkbox property A->Z
  • Sort by date property A->Z

Did you follow the troubleshooting guide? [Y/N]

Y, Given the issue occurs in CLI and I am on the latest version in windows, it doesn’t appear anything in the troubleshooting guide would help.

Expected result

command base:query file="test.base" shows files in same order as in app. note2, note4, note1, note3

Actual result

same command shows files in order ignoring “group by”. 1, 2, 3, 4

Environment

SYSTEM INFO:
Obsidian version: 1.12.4
Installer version: 1.12.4
Operating system: Windows 11 Pro 10.0.26200
Login status: logged in
Language: en
Catalyst license: none
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on
RECOMMENDATIONS:
none


Additional information

This is partly a feature request and not necessarily a bug I suppose. But seems to generally be unintended.

Yes, please open a FR.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.