Query sort by journal date with nlp-date would broken when clicking label for sort
Nobody has claimed this yet.
- Dominant language
- Clojure
- Stars
- 45k
- Forks
- 2.8k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 105
Description
### What happened?
Let's say I have a [[Journal]] page I always use as a header in journal entries. If I do a query `{{query [[Journal]]}}` it will show the blocks in the order of journal dates. But if I switch Table view, then the order is completely random.
### Reproduce the Bug
1. Go to Journals
Add
```
- [[Journal]]
- my note
```
On multiple dates.
2. Go to some page and insert the query `{{query [[Journal]]}}`
3. turn on Table view
### Expected Behavior
I would expect the rows in the table to be in the same order as when shown as blocks, i.e sorted by appearance in journals by date. However the order in table mode is totally random.
### Screenshots
_No response_
### Desktop Platform Information
_No response_
### Mobile Platform Information
_No response_
### Additional Context
_No response_
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the `{{query [[Journal]]}}` example with Journal blocks across multiple dates, then switch the results to Table view and trace how the table applies sorting. Done means Table view preserves the same journal-date appearance order as the block view.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- clojure
- Domain
- frontend, search
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100