Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When executing a search hook_search_execute() is executed twice from ctools_search_result_content_type_render().
I have removed the global call to hook_search_execute(), so it's just called if we got $keys and/or $conditions.
Comment | File | Size | Author |
---|---|---|---|
0001-No-need-for-hook_search_execute-to-be-executed-twice.patch | 988 bytes | ramlev | |
Comments
Comment #1
merlinofchaos CreditAttribution: merlinofchaos commentedFixed; I also fixed the indent on the code that actually runs the search.