Notes |
|
(0000345)
|
caseydk
|
2009-07-20 15:35
(Last edited: 2009-08-27 23:01) |
|
I'd like some feedback on this item. At present, all the search objects are included in the SmartSearch module. Although this does work fine, it creates a dependency whenever a new module is added.
Someone needs to know to:
a) create the proper search object and
b) place it within the SmartSearch module properly.
Given how modules are currently installed, this is annoying at minimum and problematic and convoluted at worst.
I *think* this could be implemented similar to the hook_calendar and hook_cron where each object defines how it should be searched... and they're all tied together through a "Searchable" interface that any class can implement.
Thoughts?
|
|
|
|
Implemented the first version of this one. Added to the smartsearch to use module-based hook_search methods if they exist.
Each module can now implement its own *basic* search without modifying any core module. Advanced search still has to be implemented. |
|
|
|
Converted the Projects class to use the new hook_search as a public proof of concept in r593;
Implemented this as a demo for an internal modules... other AddOn modules can do the same; |
|