yangguilong / advanced-find

Automatically exported from code.google.com/p/advanced-find
0 stars 0 forks source link

empty 'Filter' field returns no results #91

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. adjust 'Scope' to search in 'All Documents in Directory'
2. completely clear the 'Filter' field (remove '*' too)
3. search for something

What is the expected output? What do you see instead?
- I expect the filter to be disabled, and that all files in the current 
directoy are being searched
- instead the search returns no results, even if the files contain the subject 
I was looking for

What version of the product are you using? On what operating system?
- Linux Mint 14
- gedit 3.6.1
- Advanced Find/Replace 3.5.2

Please provide any additional information below.
- the behavior of the program in this case is some kind of reasonable, because 
if I pass an empty string to the "--include" filter of "grep", this virtually 
means that i don't want to include any file in the search, and therefore an 
empty result list is correct
- but, as it makes no sense to don't search any file, an empty filter should 
mean "the filter is disabled, search in all files"

Original issue reported on code.google.com by ir4o.o91...@gmail.com on 28 Jan 2013 at 6:01

GoogleCodeExporter commented 9 years ago
I will think how to do for this.

Original comment by swatch.c...@gmail.com on 29 Jan 2013 at 1:16

GoogleCodeExporter commented 9 years ago

Original comment by swatch.c...@gmail.com on 29 Jan 2013 at 1:16

GoogleCodeExporter commented 9 years ago
Fixed at v3.5.3.

Original comment by swatch.c...@gmail.com on 31 Mar 2013 at 3:54

GoogleCodeExporter commented 9 years ago
Works!

Original comment by ir4o.o91...@gmail.com on 2 Apr 2013 at 10:52

GoogleCodeExporter commented 9 years ago

Original comment by swatch.c...@gmail.com on 23 Apr 2013 at 9:27