Visibility settings don't apply in local search

Steps to reproduce

Starting from scratch, what are the steps to make the bug happen? The fewer the steps, the better.

Perform a local search with notes hidden

Expected result

What do you expect to see after carrying out the steps above?

Search only applies to the items, not the notes.

Actual result

Instead of the expected result, what happened?

Search applies to the notes, as well as the items.

Environment

Which operating system are you using? Which browser are you using? If youā€™re using a desktop or mobile app, whatā€™s the version number of Dynalist?

Windows latest Chrome and Desktop version


Additional information

Anything else you think would help our investigation, like a screenshot or a log file? You can drag and drop screenshots to this box. For large amount of text, try putting them into something like Pastebin.

Search does respect note visibility settings in the global search.


Additional comments

Well, that was a ā€œbugā€ we were fixing earlier today, for things to be consistent.

Basically, we want the note to show up if it does match the search query, in case itā€™s needed, but I agree itā€™s debatable. Maybe we should start a poll?

I thought the update was meant to be applied to local as well as global searches.

I have extensive notes and a large local document. I donā€™t often conduct global searches and my local searches are always at the item level, rather than notes.

But if it is only to apply to global searches, then please bring on the poll for local searches.

The update was fixing a bug, which is that note visibility is not reflected in global search. When you set notes to hidden, they are still shown in global search. That was the bug we were trying to fix.

Now I think the thing weā€™re discussing is whether note should show up if it matches search query, when set to hidden. And it was for that I proposed the poll.

Yes, it would be great to have an option for local search to respect the note visibility options in the same way that global search does now.

I guess I havenā€™t made myself clearā€¦ are you using the desktop app? Could you try your repro steps on the latest version of web?

Now local and global searches are consistent, but probably not the way you expect them to be.

OK. I see now that the item appears in the search for both local and global if the search term is in the note, regardless of note visibility settings.

The difference is that for a local search, the note becomes visible if the search term is present. Whereas in the global search, only the item will appear.

I still wish there was an option to have search (local and global) apply only to items, not notes.

Weird, are you trying to desktop rather than web? What I see on my end is that the note appears both for local and global search, as long as theyā€™re matched.

This is what appears for a local search of ā€œtargetā€ with notes hidden:

And this is what appears for a global search of ā€œtargetā€ with notes hidden:

I prefer the Global Search option. But even better would be the possibility just to limit the search to the items (not the notes) so neither would appear. :pray:

I seeā€¦

Gonna open a poll on that and weā€™ll see where to go from there.

Created poll: Should note appear when search term matches note, with note set to hidden?

1 Like

Hi @Kevin_Murray, sorry for the digging this up, weā€™re cleaning up the bugs and would like to move this to a feature request (for the ā€œintitle:ā€ part) and close this one.

What do you think?

Yes, this relates to another posting where I confessed to cursing at the screen.

Ok, Iā€™ll close this then!