Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
24a598a9
Commit
24a598a9
authored
Feb 07, 2006
by
Steven Wittens
Browse files
-
#48028
: Better search form compatibility for lanky IE submission
parent
d67a0503
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/search.module
View file @
24a598a9
...
...
@@ -886,7 +886,7 @@ function search_view() {
// Search form submits with POST but redirects to GET. This way we can keep
// the search query URL clean as a whistle:
// search/type/keyword+keyword
if
(
isset
(
$_POST
[
'
op
'
]))
{
if
(
isset
(
$_POST
[
'
edit'
][
'keys
'
]))
{
if
(
$type
==
''
)
{
$type
=
'node'
;
}
...
...
modules/search/search.module
View file @
24a598a9
...
...
@@ -886,7 +886,7 @@ function search_view() {
// Search form submits with POST but redirects to GET. This way we can keep
// the search query URL clean as a whistle:
// search/type/keyword+keyword
if
(
isset
(
$_POST
[
'
op
'
]))
{
if
(
isset
(
$_POST
[
'
edit'
][
'keys
'
]))
{
if
(
$type
==
''
)
{
$type
=
'node'
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment