Page 1 of 1

Search for notes that aren't locked?

Posted: Thu Oct 24, 2024 12:42 pm
by lbw2112
I know I can search for notes that are locked with has:lock. Is there a way to search for notes that are NOT locked?

Thanks,
Larry

Re: Search for notes that aren't locked?

Posted: Thu Oct 24, 2024 9:02 pm
by noone22
I created a folder call "Test" and clicked on "Lock Note" and I can see the lock icon on the folder.

In the search if I type "has:lock" only that folder appears ( this is my only locked folder/note )

I tried "-has:lock" and it removed the folder from the search so putting the - at the beginning of the command may do the inverse or in your case what you want to see.

Regards...J

Re: Search for notes that aren't locked?

Posted: Thu Oct 24, 2024 9:39 pm
by lbw2112
Thanks for the reply. I did try a few things and that was one of them. It showed the results for any note that had that phrase "has:lock" in it but unfortunately not the notes that weren't locked. I even tried things like has:-lock, has:lock- just to see but no luck. It may not even be possible yet.

I do appreciate the help though.

Thanks,
Larry

Re: Search for notes that aren't locked?

Posted: Fri Oct 25, 2024 1:03 am
by noone22
This may work, you need to create this for each section

Show Locked Notes
1. Create a new perspective list
2. Customize
3. Match the following Rules
4. Is Locked - is - true

Show Unlocked Notes
1. Create a new perspective list
2. Customize
3. Match the following Rules
4. Is Locked - is - false

Re: Search for notes that aren't locked?

Posted: Fri Oct 25, 2024 10:55 am
by lbw2112
Thanks noone22, I'll use that solution if there isn't a special search term to do it in Global Search. I have a few notebooks with many sections in them that have all the notes locked. After I add a new note I try to remember to lock it when I'm done but of course I get busy and forget so would be easiest to just do a search at the end of the day to see what I forgot. I like the protection of not easily being able to change the notes by accident.

Again, thanks. I appreciate the help.
Larry

Re: Search for notes that aren't locked?

Posted: Fri Oct 25, 2024 12:07 pm
by noone22
+1 for the global search & per section filter search

Re: Search for notes that aren't locked?

Posted: Sat Oct 26, 2024 4:38 pm
by Petko
lbw2112 wrote: Thu Oct 24, 2024 9:39 pm Thanks for the reply. I did try a few things and that was one of them. It showed the results for any note that had that phrase "has:lock" in it but unfortunately not the notes that weren't locked. I even tried things like has:-lock, has:lock- just to see but no luck. It may not even be possible yet.

I do appreciate the help though.

Thanks,
Larry
Sounds like a problem with notebook indexing. Can you try has:lock in a new notebook to see if it works there?

Re: Search for notes that aren't locked?

Posted: Sat Oct 26, 2024 8:56 pm
by lbw2112
Hi Petko,
Has:Lock works fine, I was wondering if there was a way to find any unlocked notes using the Global Search.

Re: Search for notes that aren't locked?

Posted: Mon Oct 28, 2024 8:13 pm
by Petko
-has:lock should do that, however there might be a problem that needs to be addressed in the next update first..

Re: Search for notes that aren't locked?

Posted: Mon Oct 28, 2024 10:05 pm
by lbw2112
Ok, thanks. I did try it out in a new notebook and -has:lock didn't find any unlocked notes.