Download & Extend

Directory search isn't returning any files in search results

Project:Search Files
Version:6.x-2.0-beta1
Component:Search Directories
Category:bug report
Priority:normal
Assigned:thl
Status:closed (fixed)

Issue Summary

In trying to integrate the beta version of 6.2 with the regular core search results, I wasn't seeing any files from the directory search returned. Looking at the code, I could see that the search was looking in a table called search_directories_files, but the table itself wasn't being populated. However, search_files_files still was, and with the exact information that was to be stored in search_directories_files. The patch I'm including changes all the references to search_directories_files to search_files_files. After I applied those changes, I got the search results I expected.

I'm not sure if the development team was wanting to move over to the search_directories_files table, or stay with search_files_files, but please feel free to include this patch if you'd like.

Great work on this module, by the way. I can't wait to see the next release.

Thanks!

AttachmentSize
search_files_6_2_beta.patch4.43 KB

Comments

#1

Assigned to:Anonymous» thl
Status:active» fixed

Fixed with search_directories.module:1.1.2.4, see #504204: Merge fixes and features from #430096.

#2

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here