|
|
@ -62,8 +62,8 @@ function FileSearcher:setSearchResults()
|
|
|
|
self.results = self.files
|
|
|
|
self.results = self.files
|
|
|
|
else
|
|
|
|
else
|
|
|
|
for __,f in pairs(self.files) do
|
|
|
|
for __,f in pairs(self.files) do
|
|
|
|
DEBUG("f", f)
|
|
|
|
--DEBUG("f", f)
|
|
|
|
if string.find(string.lower(f.name), string.lower(keywords)) then
|
|
|
|
if string.find(string.lower(f.name), string.lower(keywords)) and string.sub(f.name,-4) ~= ".sdr" then
|
|
|
|
if f.attr.mode == "directory" then
|
|
|
|
if f.attr.mode == "directory" then
|
|
|
|
f.text = f.name.."/"
|
|
|
|
f.text = f.name.."/"
|
|
|
|
f.name = nil
|
|
|
|
f.name = nil
|
|
|
|