diff options
author | Cash Costello <cash.costello@gmail.com> | 2012-06-12 18:35:45 -0700 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2012-06-12 18:35:45 -0700 |
commit | 35059d588ac7bfc4a1881740468361e2416011de (patch) | |
tree | 89db06bc257592d4aba564dd4388cc7f9c19e794 /mod | |
parent | a333c200e30fc85c2c4b43f7b665561146a61334 (diff) | |
parent | 7c6b386cbbc7a3866a59e58498a6c127216cac72 (diff) | |
download | elgg-35059d588ac7bfc4a1881740468361e2416011de.tar.gz elgg-35059d588ac7bfc4a1881740468361e2416011de.tar.bz2 |
Merge pull request #228 from sembrestels/search-all
Fixes #3583. Added hidden input in search box to add the &search_type=all...
Diffstat (limited to 'mod')
-rw-r--r-- | mod/search/views/default/search/search_box.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/search/views/default/search/search_box.php b/mod/search/views/default/search/search_box.php index 87d59519c..ff12ae4f0 100644 --- a/mod/search/views/default/search/search_box.php +++ b/mod/search/views/default/search/search_box.php @@ -38,6 +38,7 @@ $display_query = htmlspecialchars($display_query, ENT_QUOTES, 'UTF-8', false); <form class="<?php echo $class; ?>" action="<?php echo elgg_get_site_url(); ?>search" method="get"> <fieldset> <input type="text" class="search-input" size="21" name="q" value="<?php echo elgg_echo('search'); ?>" onblur="if (this.value=='') { this.value='<?php echo elgg_echo('search'); ?>' }" onfocus="if (this.value=='<?php echo elgg_echo('search'); ?>') { this.value='' };" /> + <input type="hidden" name="search_type" value="all" /> <input type="submit" value="<?php echo elgg_echo('search:go'); ?>" class="search-submit-button" /> </fieldset> -</form>
\ No newline at end of file +</form> |