The number of notes in the Thoughts collections on iOS differs from the desktop version:
(iOS on the left, desktop on the right)
The filters are exactly the same. Is this a known problem? How can I fix this?
The number of notes in the Thoughts collections on iOS differs from the desktop version:
(iOS on the left, desktop on the right)
The filters are exactly the same. Is this a known problem? How can I fix this?
Hi @mjax, thanks for the report – very strange indeed!
Did you ever modify the Thoughts collection filters and if you open the collection editor and double check – the filters are exactly the same?
Do they also show different cards or is just the count wrong?
The filters are exactly (to the byte, I compared) the same:
{
"type": "group",
"op": "and",
"filters": [
{
"type": "perms",
"op": "can",
"arg": 16
},
{
"type": "group",
"op": "or",
"filters": [
{
"type": "name",
"op": "equals",
"arg": ""
},
{
"type": "markup",
"op": "equals",
"arg": ""
},
{
"type": "group",
"op": "and",
"filters": [
{
"type": "child_count",
"op": "equals",
"arg": 0
},
{
"type": "parent_count",
"op": "equals",
"arg": 0
}
]
}
]
}
]
}
On iOS it shows the 8 notes I see on Desktop and then some 40+ more random notes.
Also, never modified it, but added it through the built-in “Thoughts” collection on both devices.
Hi @mjax,
It sounds like a cache error. If you’re happy that all your notes on iOS are synced to Desktop, then you can sign out and then sign back in. This wipes the data locally stored on your phone and requests fresh data from our servers (hence it’s important to make sure your cards are synced) and it should fix this.
Yes! Signing out and in again resolved this problem. Good to know for future issues.
But I’m curious as to how these collections work internally. Because I imagined them running filters in real time over all notes and updating accordingly. But it seems it only updates on note changes.
Great to hear that did the trick, Marc!
We’ve done a lot of optimisation behind the scenes, especially with Collections. The key to Supernotes’ speed and seamless offline functionality is its local-first design and trying to only patch changes. The only downside is that, on rare occasions, small issues like this can pop up.