Page 1 of 2
Click & Search location not honored
Posted: 13 May 2014 10:00
by acheton
Hi Don,
According to the release notes relating to the "click & search" leaving the location field for the category empty should search the current directory only:
In the category's Properties dialog there is also a Location field.
Leave it empty to always search the current location. Else enter any
path. Enter * (asterisk) to search the whole PC.
However what I am seeing is that this carries out a recursive search for items in the category. So when I click on a filter (*.xml) on say drive D it searches all folders on the drive not the current directory. This doesn't seem right...
thanks
Paul
Re: Click & Search location not honored
Posted: 13 May 2014 10:30
by admin
Really? I cannot reproduce this. Are you sure the Location field is empty?
Sometimes it is unclear what is the "current path". If you have locked tree the tree and the list might have different current paths. Also when the current list contains results of a prior search (maybe over multiple directories), what is its current path?
So it depends on the context. What is your context?
Re: Click & Search location not honored
Posted: 13 May 2014 11:03
by acheton
I am sure that the location field is empty, my category details are attached. My tree is off and locked. All I did to replicate the issue was to navigate to a location on a tab and then click on the filter. It seems to understand where I am as the search results are limited to the directory I am in although it recurses.
Re: Click & Search location not honored
Posted: 13 May 2014 11:07
by admin
Attachment failed...
Re: Click & Search location not honored
Posted: 13 May 2014 11:15
by acheton
Attachment again.
Re: Click & Search location not honored
Posted: 13 May 2014 11:45
by admin
acheton wrote:I am sure that the location field is empty, my category details are attached. My tree is off and locked. All I did to replicate the issue was to navigate to a location on a tab and then click on the filter. It seems to understand where I am as the search results are limited to the directory I am in although it recurses.
I'm not sure I get it. The search results are correct but you think that the whole drive is searched? Why do you think so?
Re: Click & Search location not honored
Posted: 13 May 2014 12:44
by acheton
Well when I run the search it shows results from all subdirectories. Thus a search in D:\ shows results from all subdirectories which it should not...
Re: Click & Search location not honored
Posted: 13 May 2014 12:55
by acheton
So to illustrate using the category above and the following item:
2014-05-13 11_50_28-.png
Produces this sort of search results when enabling on drive D
ScreenClip.png
Note the subdirectories. Whereas I was expecting only results in the root of drive D.
Re: Click & Search location not honored
Posted: 13 May 2014 13:06
by admin
Oh, you want to search only the root? In that case put switch "/n" into the Location box.
Re: Click & Search location not honored
Posted: 13 May 2014 13:15
by acheton
admin wrote:Oh, you want to search only the root? In that case put switch "/n" into the Location box.
Surely given the release notes this shouldn't this be unnecessary?
Re: Click & Search location not honored
Posted: 13 May 2014 13:19
by acheton
admin wrote:Oh, you want to search only the root? In that case put switch "/n" into the Location box.
/n produces the same results!
Re: Click & Search location not honored
Posted: 13 May 2014 13:20
by admin
It is not even released.
Wait for the next version and help file.
Re: Click & Search location not honored
Posted: 13 May 2014 13:22
by admin
acheton wrote:admin wrote:Oh, you want to search only the root? In that case put switch "/n" into the Location box.
/n produces the same results!
Not here.
Place /n in the Location field.
Re: Click & Search location not honored
Posted: 13 May 2014 13:23
by bdeshi
acheton, XY searches recursively by default, so you need to override it, if you want to search only the root location.
Re: Click & Search location not honored
Posted: 13 May 2014 13:25
by acheton
admin wrote:Place /n in the Location field.
OK that works fine. So the release notes are incorrect. That is fine.