Catsworth 0 Posted July 21, 2013 Share Posted July 21, 2013 Hi Guys I'm trying to create a saved search. Let's say that I have the following notes: Note 1 : Clean BBQ (tagged: Saturday) Note 2 : Cook Meat on BBQ (tagged: Sunday) Note 3 : Do Something Else (tagged: Any Day) I want to find only notes that relate to Saturday or Sunday, so I create the following search: any: tag:Saturday tag:Sunday This correctly returns only Note 1 and Note 2 However, let's say that I now add a new tag to Note 1 (I've cleaned the BBQ so I add the tag 'Completed') so that Note 1 is now as follows: Note 1: Clean BBQ (tagged: Saturday, Completed) When I now run my saved search it still returns Note 1, but I no longer want it to - I therefore change my search to the following: any: tag:Saturday tag:Sunday -tag:Completed I would have thought that this would then return only Note 2 (it's the only note that has either Saturday or Sunday, but not Completed). This isn't the case though. I actually still get Note 1 and Note 2, but I also now get Note 3. Can anybody help me by telling me where I'm going wrong here please? What would be the correct order / tag structure to accomplish what I want to here? Thanks Link to comment
Level 5* gazumped 9,538 Posted July 21, 2013 Level 5* Share Posted July 21, 2013 Hi - welcome to the forums. Try your search without the 'any'. I've got W7, but "tag:1 tag:2 -tag:3" (without quotes, obviously) works fine for me... Link to comment
Catsworth 0 Posted July 21, 2013 Author Share Posted July 21, 2013 As I understand it won't that search for ALL tags (ie Saturday and Sunday) except for Completed? Link to comment
Level 5* gazumped 9,538 Posted July 21, 2013 Level 5* Share Posted July 21, 2013 Hmmn. You might need two searches to get all your notes then? Link to comment
BurgersNFries 2,407 Posted July 21, 2013 Share Posted July 21, 2013 Hi Guys I'm trying to create a saved search. Let's say that I have the following notes: Note 1 : Clean BBQ (tagged: Saturday) Note 2 : Cook Meat on BBQ (tagged: Sunday) Note 3 : Do Something Else (tagged: Any Day) I want to find only notes that relate to Saturday or Sunday, so I create the following search: any: tag:Saturday tag:Sunday This correctly returns only Note 1 and Note 2 However, let's say that I now add a new tag to Note 1 (I've cleaned the BBQ so I add the tag 'Completed') so that Note 1 is now as follows: Note 1: Clean BBQ (tagged: Saturday, Completed) When I now run my saved search it still returns Note 1, but I no longer want it to - I therefore change my search to the following: any: tag:Saturday tag:Sunday -tag:Completed I would have thought that this would then return only Note 2 (it's the only note that has either Saturday or Sunday, but not Completed). This isn't the case though. I actually still get Note 1 and Note 2, but I also now get Note 3. Can anybody help me by telling me where I'm going wrong here please? What would be the correct order / tag structure to accomplish what I want to here? Thanks What you are trying to find is: (anything tagged Saturday OR Sunday) AND not tagged completed. You cannot do this in EN, since it does not do Boolean (combined and/or) searches. Workarounds include using a tag such as "Sunday dinner prep", applied to all three notes & then using: Tag:"Sunday dinner prep" -tag:completed Link to comment
Catsworth 0 Posted July 21, 2013 Author Share Posted July 21, 2013 Ah, ok - that makes sense. I didn't know if the tags were applied in a logical order that would have allowed a workaround. Thanks for the help guys Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.