Closed (fixed)
Project:
Drupal core
Version:
x.y.z
Component:
search.module
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
29 Mar 2006 at 23:03 UTC
Updated:
20 Apr 2006 at 13:15 UTC
Jump to comment: Most recent file
fapi conversion - please check with care as this is my first fling at handling multiple submits.
1st draft methinks: handling the existing value in the basic search textfield still needs to be addressed properly. It is not the same as the current behaviour.
-K
| Comment | File | Size | Author |
|---|---|---|---|
| #20 | search_box.patch_1.txt | 3.04 KB | Zen |
| #18 | search_box_2.patch.txt | 3.22 KB | Zen |
| #16 | search_box.patch_0.txt | 4.65 KB | Zen |
| #14 | search_box.patch.txt | 4.97 KB | Zen |
| #12 | fix_search_1.patch | 2.9 KB | chx |
Comments
Comment #1
Zen commented.
Comment #2
Zen commentedThis keeps existing functionality as is. Reviews appreciated :)
Thanks
-K
Comment #3
Steven commentedCommitted a modified version. The switch(TRUE) statement is IMO unnecessary obfuscation, while the checkbox handling can be compacted (use array_filter to keep only the checked ones).
Thanks.
Comment #4
Zen commented.
Comment #5
killes@www.drop.org commentedapplied
Comment #6
tenrapid commentedThe search box that can be displayed by some themes (e.g. bluemarine) is not working anymore. Phptemplate.engine calls search_box() (in system.module) to get the html for the box. It is displayed but after you click 'search' you are simply redirected to 'search/node'.
Comment #7
killes@www.drop.org commentedsetting to critical, can't release RC1 without.
Comment #8
chx commentedWhao! This was badly broken.
Comment #9
chx commentedand yes, I tested.
Comment #10
chx commentedand yes, I tested.
Comment #11
chx commentedtrimmed
Comment #12
chx commentedEven more fixes
Comment #13
chx commentedcommitted by drumm
Comment #14
Zen commentedThe _submit functions could have been made more concise by using a callback, but as the theme function does not have a $form_id parameter, this couldn't be used. Accessing the form_id through $form seemed kludgy.
Thanks
-K
Comment #15
Zen commented.
Comment #16
Zen commented.
Comment #17
Steven commentedWhy remove styles such as the border? Only the vertical margins should be removed and/or changed...
Comment #18
Zen commentedCSS issue: http://drupal.org/node/56915
The remaining (unchanged) is attached.
Thanks
-K
Comment #19
Zen commentedAlso, the #ref issue is back : http://drupal.org/node/56911
I think it might be best to keep it separate from the current patch.. so leaving that open.
Thanks
-K
Comment #20
Zen commentedLeaner.
-K
Comment #21
Steven commentedCommitted to HEAD.
Comment #22
(not verified) commented