Filters not working properly

Describe the bug

So I created a set for all the Food types in the game Valheim in Anytype on my laptop. Food is devided in 3 types, stamina, balanced and health. For this I have a status relation named type where I fill in the correct food type. See screenshot below:

When creating a new view to show only the stamina food I create a filter:

The filtered result is not complete as seen below, Honey and Raspberries are missing from the list! When clearly they are marked as Stamina food in the first screenshot (or All view).

To make this bugg worse, when I open this on my desktop PC the filtered view is completely empty! If I recreate this view on my desktop PC it still stays empty but when I view it on my laptop it is partly filled.

To Reproduce

Steps to reproduce the behavior:

    1. Create view
    1. Add pages
    1. Create new view
    1. Add filter
    1. Check if filter shows all the correct pages

Expected behavior

Expected to see all the food types marked as Stamina and nog a few missing of even a completely empty list and when synced with my desktop PC I expected to not see an empty list.

System Information:

  • OS: Windows 10
  • Anytype Version: 0.19.0

Additional context

6 Likes

same issue. also each time I open the set view a different amount of objects are missing. If I expect 10 items to show, sometimes 2 will show, sometimes 5.

Maybe it has something to do with the “status” relation type. I seem to only have this issue on that type. Object or tag relation seem to be working so far for me

1 Like

Actually, I just checked again and it seems that object relation types are also not working properly with the filtered views.

1 Like

to add one more thing I learned on this. If objects have the value you want to filter already BEFORE you create the view, it does not show. If you go back to the object, change the value to another and then back to the filtered value, it will then show up in the new filtered view. It seems that the view filter looks for objects that have that value assigned to it AFTER the view is created.

I am now doing a workaround to go back and re-assign the relation values to have them show up in my new views.

1 Like

I recently found out that the IS filter does not work. When I select Has Any of the filters work as intended.

2 Likes

Noticed that filters don’t work on notes for me. If I use the filters “Name is not empty” or “Name is empty” it doesn’t get the appropriate notes. If I use “Name is xxx” it doesn’t get the xxx note either. If I use the doesn’t contain filter that doesn’t work either. Also sort by ascending or descending doesn’t work. Has anyone else run into this?

there are bugreports about this (like mine Filters not working properly)

I believe the is filter does not work at this moment. If you use Has any of then it works properly for me.

1 Like

I can confirm this. I have a set of tasks. But when I create a new view and set the filter to “Status is ‘In Progress’” then the view is empty, even though the objects show up in the view of all objects.

Also experiencing this on version 0.25.4 on macOS (M1 version). Can confirm the “has any of” workaround works, but the “is” filter does not capture everything that has that status. E.g. see below

I have 5 books in my reading list with the “unread status”:

But in my view filtered by “Status is unread” I only see one of them: