[ List Archives Home ] [ Thread index for 2008 ]
[ Date index for 2008 ]
[ Author index for 2008 ]
[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
- Date: Fri, 27 May 2005 16:47:32 -0400
- From: Karen Perone <peroneka at oplin dot org>
- Subject: Re: wrinkle in home page search box
How bizarre. I reworked the search URL changing R to A or D and the *
searches worked.
> we are also getting "No hits" for the infamous "wom?n" search <<<
>
> That's because the question mark is not being properly encoded into
> %3F in the URL. If you manually change it in a URL, it works fine.
> The question mark is reserved and must always be escaped in a URL
> when it is not used as the 'cgi' separator... That should be easy
> enough to fix in the Javascript that produces the search URL on that
> page, you just need to escape the searchString variable before
> concatenating it with the rest of the URL.
For those of us who know what javascript is but don't have a clue how to
fix this, could you give us an example of the fix you mention?
I just looked at CSDirect and it appears that it is fixed in 2005. In
the meantime it looks like the AVS example screens need to be changed to
reflect the use of * instead of ? for internal truncation and sort on
alpha or date instead of relevancy.
--Karen
David Jones wrote:
peroneka at oplin dot org 5/27/2005 10:46 AM >>>
It seems strange that a search for "tutan**" yields nothing, but a
search on "tut**" yields hits <<<
That seems to be limited to relevance ranked searches only. Data and
alpha sorts seem to work fine.