Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fixes #3583. Added hidden input in search box to add the &search_type=all... #228

Merged
merged 1 commit into from

3 participants

Sem Evan Winslow Cash Costello
Sem
Collaborator

...l in search urls, and highlight the All menu item.

Sem sembrestels Fixes #3583. Added hidden input in search box to add the &search_type…
…=all in search urls, and highlight the All menu item.
7c6b386
Evan Winslow
Owner

LGTM.

Cash Costello cash merged commit 35059d5 into from
Sem sembrestels referenced this pull request from a commit
Commit has since been removed from the repository and is no longer available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 17, 2012
  1. Sem

    Fixes #3583. Added hidden input in search box to add the &search_type…

    sembrestels authored
    …=all in search urls, and highlight the All menu item.
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 1 deletion.
  1. +2 −1  mod/search/views/default/search/search_box.php
3  mod/search/views/default/search/search_box.php
View
@@ -38,6 +38,7 @@
<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>
+</form>
Something went wrong with that request. Please try again.