Page 1 of 1

Do exlcusion filter not work with label filters in quicksearch?

Posted: 13 Feb 2018 04:11
by jaywalker32
Why does this search string not work?

This PC?lbl:"Red" /excl="L:\backup" /flat


It returns all files with color label "Red", even ones in the L:\backup folder. It's the same for normal searches as well. Is this a bug or am I doing something wrong? :?:

Re: Do exlcusion filter not work with label filters in quicksearch?

Posted: 13 Feb 2018 04:32
by jupe
I asked the same sort of question here recently:

viewtopic.php?f=3&t=18438#p155961

I haven't received a reply yet from the developer, so I am not 100% sure, but my feeling is currently that /excl= doesn't work except for file search (labels & tag search don't seem to), You could use formatlist() with a filter as a workaround for the time being if you wanted, until we get a definitive answer on if its working as designed or if it is a bug, or if it can be implemented, unless someone more experienced knows for sure and replies.

Something like this could work, a bit longer to write but you may be interested as a temporary workaround:

Code: Select all

goto formatlist(quicksearch("lbl:Red", "This PC", ";"), "f", ";", "!L:\backup\*") . "?";

Re: Do exlcusion filter not work with label filters in quicksearch?

Posted: 13 Feb 2018 05:31
by jaywalker32
Thanks! That's actually quite useful and does the job. Also, I had no idea you could use "goto" with "formatlist" like that. That'll sure come in handy.

Re: Do exlcusion filter not work with label filters in quicksearch? [Update]

Posted: 22 Feb 2018 15:21
by jaywalker32
There was an update that supposedly fixed this issue:

Code: Select all

v18.70.0102 - 2018-02-21 19:35
    ! Find Files and Quick Search: Switch /excl was not honored by so-called
      "Fast Tag Search". Fixed. For example:
        ?lbl:Blues /excl=E:\Alabama\   //excludes any matches in E:\Alabama\

But it's still not working for me:

Code: Select all

This PC?lbl:Black /excl=g:\downloads\


This returns all files, even the ones in g:\downloads\

Can anyone else check if it's just me please?

Re: Do exlcusion filter not work with label filters in quicksearch?

Posted: 22 Feb 2018 15:27
by jupe
Yeah it still doesn't seem to work for "This PC" but if you search a drive or folder it seems to work.

Re: Do exlcusion filter not work with label filters in quicksearch?

Posted: 23 Feb 2018 10:25
by admin
Ah, yes. Fix in next beta...