sneakers
Posts: 13
|
Posted: 04/06/2004, 8:19 AM |
|
I have a search form using a multi-select list box and a search text box. Everything seems to work fine until you run the search more than once.
When I submit the search the first time the url looks correct and the results are returned correctly.
details_list.php?s_category[]=link&s_keyword=
When I submit the search a second time, the parameters for the list box show up in the url twice.
details_list.php?s_category[]=link&s_category[]=link&s_keyword=cms
I am running the site on an apache web server.
Any help would be appreciated.
|
|
|
sneakers
Posts: 13
|
Posted: 04/06/2004, 8:37 AM |
|
I should note that I even tested the Example Mult-Search ListBox that came with Code Charge and it did the same thing.
MultiSelectSearch.php?s_keyword=&s_project[]=2
MultiSelectSearch.php?s_keyword=&s_project[]=2&s_project[]=2&s_project[]=3
|
|
|
peterr
Posts: 5971
|
Posted: 04/07/2004, 12:26 AM |
|
I just checked our example at http://examples.codecharge.com/ExamplePack/MultiSelectS...2&s_project[]=3 and I didn't see such problem. Did you maybe change anything in the example.
Otherwise possibly something in your server might be misconfigured but I'm not sure what. Do you maybe have a public URL to look at ?
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
|
|
jtuu
|
Posted: 04/07/2004, 6:26 AM |
|
I would remove parameters from properties window
s_category;link;
|
|
|
peterr
Posts: 5971
|
Posted: 04/07/2004, 10:50 AM |
|
Agree, however our example has the "Preserve Parameters" property set to "None". I cannot understand why this wouldn't work for sneakers.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
|
|