question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] Task sort order: desktop and mobile difference

See original GitHub issue

Describe the bug Dataview sorts tasks arbitrarily with differences between desktop and mobile. SORT and GROUP BY do not work on any version.

From a simple syntax:

```dataview
task from #active
where !completed
```

On mobile, Dataview returns the note list with tasks as:

  • Project A
  • Project B
  • Project C
  • Project D
  • Project E

On desktop, the note list with tasks is returned as:

  • Project C
  • Project B
  • Project A
  • Project E
  • Project D

Moreover, all SORT or GROUP BY options do not work. E.g. setting a sort to:

SORT file.name ASC does nothing.

GROUP BY brings up a list of all tasks under a heading without any grouping.

Expected behavior Note and tasks are ordered identically on every device. SORT and GROUP BY work as intended.

Desktop (please complete the following information):

  • OS: macOS
  • Obsidian Version: 0.12.15
  • Dataview Version: 0.4.10

Smartphone (please complete the following information):

  • Device: iPhone 12 Mini
  • OS: iOS 15
  • Obsidian Version: 0.12.15
  • Dataview Version: 0.4.10

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:12 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
blacksmithgucommented, Sep 25, 2021

The fix is happening today, so a docs update is probably not required unless I have it push it back further.

2reactions
blacksmithgucommented, Sep 25, 2021

It’s worth noting the reason referencing file.name and similar do nothing is because file metadata is not added to tasks (just yet) - I am resolving this in the upcoming release (0.4.11).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tasks out of order in phone app - Asana Community Forum
Steps to reproduce: Manually order a few tasks in desktop view, making sure they're not the same order that you created them in....
Read more >
Sorting in the Activity Timeline - Salesforce Help
Both upcoming and overdue activities and past activities can have different sort orders. You can sort upcoming and overdue activities in one of...
Read more >
10 common problems with order picking...and how to solve them
This article covers the answer to the common question: How to reduce manual picking errors. Picking is, as you'd expect, a major action...
Read more >
Sort Visual Task Boards - Product Documentation | ServiceNow
You can sort Visual Task Boards using criteria that you create with a Sort-Filter option, grouping items by properties to help organize your...
Read more >
Card Sorting - Usability.gov
You must have as many sets of cards as concurrent sessions or have each participant at a separate computer if using online card-sorting...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found