Closed
Bug 413089
Opened 17 years ago
Closed 17 years ago
Search bar does not work on SpreadFirefox homepage
Categories
(Websites Graveyard :: spreadfirefox.com, defect)
Websites Graveyard
spreadfirefox.com
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: pkim, Assigned: mrz)
References
()
Details
Attachments
(1 file)
|
524 bytes,
patch
|
morgamic
:
review+
|
Details | Diff | Splinter Review |
[Bug] Search bar does not work on SpreadFirefox homepage
Posted January 18th, 2008 by jglassenberg
When entering a search term in the Search bar on the right-panel of the SpreadFirefox homepage, hitting search just sends me to the main search page. No search results appear, and I have to re-enter the search term on the results page to perform this search.
Comment 2•17 years ago
|
||
Would you please commit the changes to search/search.module
(Committed revision 9714.)
There was a problem with the core module search . I needed to take out the line ..
$form['#action'] = url('search/node');
from the method search_box(). If we have no further problems with search ill request this changes be patched against the drupal core
function search_box($form_id) {
// Use search_keys instead of keys to avoid ID conflicts with the search block.
$form[$form_id .'_keys'] = array(
'#type' => 'textfield',
'#size' => 15,
'#default_value' => '',
'#attributes' => array('title' => t('Enter the terms you wish to search for.')),
);
$form['submit'] = array('#type' => 'submit', '#value' => t('Search'));
// Always go to the search page since the search form is not guaranteed to be
// on every page.
$form['#action'] = url('search/node');
$form['#base'] = 'search_box_form';
return $form;
}
Assignee: paul → server-ops
Comment 3•17 years ago
|
||
Sorry , hold commiting i have broken something.
Updated•17 years ago
|
Assignee: server-ops → paul
Comment 4•17 years ago
|
||
Sorry for the delay here guys.
The problem i was seeing was only in my localhost drupal cache as was quickly
verified by looking at the sandbox on mozilla.com .
Would you please push through the change
Thanks
Paul
Updated•17 years ago
|
Assignee: paul → server-ops
Comment 5•17 years ago
|
||
review from webdev and approval from pkim/marketing still needed for push.
Comment 6•17 years ago
|
||
Paul can you post the actual diff as an attachment to this bug? Code in bugzilla comments is hard to read.
Comment 7•17 years ago
|
||
You can see the patch here ..
http://viewvc.svn.mozilla.org/vc/projects/spreadfirefox.com/trunk/modules/search/search.module?r1=5872&r2=9714&view=patch
but here it is ..
--- projects/spreadfirefox.com/trunk/modules/search/search.module 2007/08/14 21:48:18 5872
+++ projects/spreadfirefox.com/trunk/modules/search/search.module 2008/01/21 14:35:13 9714
@@ -1045,7 +1045,7 @@
$form['submit'] = array('#type' => 'submit', '#value' => t('Search'));
// Always go to the search page since the search form is not guaranteed to be
// on every page.
- $form['#action'] = url('search/node');
+ //$form['#action'] = url('search/node');
$form['#base'] = 'search_box_form';
return $form;
Comment 8•17 years ago
|
||
and as an attachment
Updated•17 years ago
|
Attachment #298496 -
Flags: review+
Comment 9•17 years ago
|
||
Posting in the bug as an attachment (and in diff format) makes it easier for reviewing. Thanks. a=morgamic.
| Assignee | ||
Updated•17 years ago
|
Assignee: server-ops → mrz
| Assignee | ||
Comment 10•17 years ago
|
||
[root@mradm01 www.spreadfirefox.com]# svn up
U modules/sfx/sfx_affiliates/sfx_affiliates.module
U modules/search/search.module
Updated to revision 9753.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Verified FIXED:
http://www.spreadfirefox.com/search/node/download
Status: RESOLVED → VERIFIED
OS: Mac OS X → All
Hardware: PC → All
Updated•14 years ago
|
Product: Websites → Websites Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•