talking about german.. just found a search bug..
difficult to explain..
the word Austria is "?sterreich" in german..
I have several links containing "?sterreich" in link title or keyword...
i do a search.. get 5 results.. ==> it works fine..
NOW i change to sortorder...
and get NO Result !!!!
Quote:
Search Results
Searching for entries matching %C3%B6sterreich, looking in keywords for any words
Found 0 matching entries
|
Why? because in the sort order form.. there the word ?sterreich is suddenly urlencoded.. giving: %C3%B6sterreich and it tells me.. No result found for %C3%B6sterreich!!! This is true because %C3%B6sterreich does not exist.. it is ?sterreich.
here part of the page sourcecode:
HTML Code:
<td align="right">
<form action="local_links_search.php" method="get">
<span class="smallfont">
<input type="hidden" name="action" value="show" /><input type="hidden" name="page" value="1" /><input type="hidden" name="pp" value="20" /><input type="hidden" name="search" value="%C3%B6sterreich" /><input type="hidden" name="literal" value="1" /><input type="hidden" name="keys" value="1" /><input type="hidden" name="beforeafter" value="1" /> Sort by <!-- BEGIN TEMPLATE: links_catsortbit -->
<span class="smallfont">
<select class="select" name="sort" onchange="this.form.submit();" size="1" style="width:200px">
<optgroup label="Sort by">
<option value="N" >Title (ascending)</option>
<option value="n" >Title (descending)</option>
<option value="h" >Hits (overall)</option>
i think.. ( not sure.. ) it should be urlencoded when passed through the form but then urldecoded before searching the database... it should be urldecoded before being displayed...
or
not urlencoded at all.. but then i think you need it for spaces.. hmmm not sure..
Felix