admin/node/search breaks due to a redirect
Zen - February 15, 2006 - 16:11
| Project: | Drupal |
| Version: | x.y.z |
| Component: | node.module |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | duplicate |
Jump to:
Description
forms.inc v1.67 (which modifies redirect behaviour) breaks admin/node/search: the results page is generated but then redirected to itself. But I don't think this is a forms API issue.. Perhaps the issue is that node_admin_search doesn't support $_GET keywords. I'm not sure.
Thanks,
-K

#1
Same is true for "admin/locale/string/search". There is also bug
http://drupal.org/node/49123
which describes same effect. The result is generated, but replaced by blank new form.
#2
I'm sure that they are related/caused by the same problem, but I think these are separate issues. If somebody can clarify, please mark this as a dupe if need be.
Thanks
-K
#3
The search form ..._submit() function should return the path to the search results page and do nothing else. THe actual search happens on GET only.
#4
The issue for the broken q=admin/user/search function has a similar problem: http://drupal.org/node/49730
A drupal_goto() results in an empty $_POST[] array which the code tries to use for the search parameters.
#5
http://drupal.org/node/49799