Display search help based on type
douggreen - May 9, 2008 - 16:46
| Project: | Drupal |
| Version: | 7.x-dev |
| Component: | search.module |
| Category: | feature request |
| Priority: | normal |
| Assigned: | douggreen |
| Status: | needs work |
Description
LIVE FROM THE MINNESOTA SEARCH SPRINT, a little usability patch that gets it's help from the type argument, so that node search displays one help message and user search displays another. The hard coded HTML <UL> is also replaced with theme('item_list')
The idea for this patch comes from #247482, however we take a different approach here.
| Attachment | Size |
|---|---|
| searchhelp.patch | 3.97 KB |
| Testbed results | ||
|---|---|---|
| searchhelp.patch | failed | Failed: Failed to apply patch. Detailed results |

#1
Please review the verbage in user_help 'search#noresults'. If you have ideas for clearer wording here, please let us know. Thanks!
#2
Updated patch with a simple test case that tests that a module which implements hook_search implements the hook_help for search#noresults.
#3
Tracking
#4
Updating the test case.
#5
Have updated the 2nd line of verbage in user_help 'search#noresults', hope it's clearer.
#6
Re-roll #5 against HEAD.
#7
Subscribing.
#8
The last submitted patch failed testing.