Skip to content
This repository

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

Merged
merged 1 commit into from almost 2 years ago

3 participants

Sem Evan Winslow Cash Costello
Sem
Collaborator

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

Sem 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 June 12, 2012
Cash Costello cash closed this June 12, 2012
Sem sembrestels referenced this pull request from a commit June 07, 2013
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

Showing 1 unique commit by 1 author.

May 17, 2012
Sem Fixes #3583. Added hidden input in search box to add the &search_type…
…=all in search urls, and highlight the All menu item.
7c6b386
This page is out of date. Refresh to see the latest.
3  mod/search/views/default/search/search_box.php
@@ -38,6 +38,7 @@
38 38
 <form class="<?php echo $class; ?>" action="<?php echo elgg_get_site_url(); ?>search" method="get">
39 39
 	<fieldset>
40 40
 		<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='' };" />
  41
+		<input type="hidden" name="search_type" value="all" />
41 42
 		<input type="submit" value="<?php echo elgg_echo('search:go'); ?>" class="search-submit-button" />
42 43
 	</fieldset>
43  
-</form>
  44
+</form>
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.