MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] More on locale



On 10 Sep, mikeh@minivend.com wrote:
> ******    message to minivend-users from mikeh@minivend.com     ******
> Hi all,
> I found that there is no way that the searching in MV3.14 will work
> with the LC_CTYPE setting being done on the fly.
[DEL]
> 	Locale de_DE  LC_CTYPE de_DE
> 	Locale de_DE  LC_TIME  de_DE
> 	# Example of keeping sorting for a US-specific database
> 	Locale de_DE  LC_COLLATE en_US

Hi Mike,

thank you a lot! I have used the patch. But i get the same old results!
Did i use all above line (Locale ...) in my catalog.cfg or in my shell
(.crshrc)? Sorry for this stupid question!

I have found another curios result from my srchform page.
In this page, there are 4 input field (author, title, code and 
publisher). If i search for an author name = "asdf" , i get this
message:


                   Bad Search Specification 

                   The search could not be done. The problem was: 
                   Sorry, no matches for  asdf     

                   Mögliche Gründe: blah,blah,blah...

Well! This is right! I get the same result with "title" and "code". But
searching for an publisher name = "asdf", i get

                 Bad Search Specification 

                   The search could not be done. The problem was: 
                   Sorry, no matches for    

                   Mögliche Gründe: blah,blah,blah...

This is wrong! I use the mv_search_map! Why get i a right message by
using the first three input fields and a wrong message by using the
last input field?

This is my codes:

<FORM ACTION="[process-target main]" METHOD=POST><INPUT TYPE=hidden NAME=mv_search_map VALUE="
                               mv_searchspec=search12
                               mv_searchspec=search14
                               mv_searchspec=search1
                               mv_searchspec=search11">
                               <INPUT TYPE=hidden NAME=mv_search_field Value="author">
                               <INPUT TYPE=hidden NAME=mv_search_field Value="title">
                               <INPUT TYPE=hidden NAME=mv_search_field Value="0">
                               <INPUT TYPE=hidden NAME=mv_search_field Value="verlag">
                               <INPUT TYPE=hidden NAME=mv_search_match_count Value="0">
                               <INPUT TYPE=hidden NAME=mv_coordinate VALUE=yes>
                               <INPUT TYPE="hidden" NAME="mv_matchlimit" VALUE="10">
                               <INPUT TYPE="hidden" NAME="create_last_search" VALUE="1">
                               <INPUT TYPE="hidden" NAME="mapyes" VALUE="YES">
                               <INPUT TYPE=hidden NAME=mv_session_id VALUE="[data session id]">
<INPUT TYPE="hidden" NAME="mv_min_string" VALUE="3">
<INPUT NAME=search12 VALUE="">
<INPUT NAME=search14 VALUE="">
<SELECT NAME="mv_sort_field">
        <OPTION VALUE="title:f" SELECTED>[L]Title[/L] 
        <OPTION VALUE="author:f">[L]Author[/L]
        <OPTION VALUE="price:n">[L]Price[/L]
        <OPTION VALUE="title:r">[L]Reverse Title[/L]
        <OPTION VALUE="author:r">[L]Reverse Author[/L]
        <OPTION VALUE="price:nr">[L]Reverse Price[/L]
        <OPTION VALUE="">[L]none[/L]
</SELECT>
<INPUT NAME=search1 VALUE="">
<INPUT NAME=search11 VALUE="">
<INPUT TYPE="hidden" NAME="mv_range_look" VALUE="price">
        <SELECT NAME="mv_range_min">
        <OPTION value="0000" SELECTED>[L]Any[/L]
[DEL
        </SELECT>
        <SELECT NAME="mv_range_max">
        <OPTION value="9999" SELECT>[L]No object[/L]
[DEL]
        <OPTION value="1000">[currency convert=1]1000[/currency]
        </SELECT>
<INPUT TYPE="hidden" NAME="mv_first_match" VALUE="">
<INPUT TYPE="hidden" NAME="mv_doit" VALUE="search">
<INPUT TYPE=image SRC="icon/Search.gif" BORDER=0 NAME="[L]Search[/L]">

<INPUT TYPE="radio" NAME="mv_orsearch" VALUE="no" [checked name=mv_orsearch value=no default=1]>&nbsp;&nbsp;[L]Must match all[/L]
<INPUT TYPE="radio" NAME="mv_orsearch" VALUE="yes">&nbsp;&nbsp;[L]Match any[/L]
<INPUT TYPE="hidden" NAME="mv_searchtype" VALUE="text">
<INPUT TYPE="checkbox" NAME="mv_case" VALUE="1" [checked name=mv_case value=no default=0]>&nbsp;&nbsp;[L]Case sensitive[/L]
<INPUT TYPE="checkbox" NAME="mv_substring_match" VALUE="yes"[checked name=mv_substring_match value=yes default=1] >&nbsp;&nbsp;[L]Match substrings[/L]
</FORM>


Is anythere an error? Any hints, tips or question are very welcome!

Thanks!

Joachim

-- 
Hans-Joachim Leidinger
buch online                 jojo@buchonline.net
Munscheidstr. 14            FAX: +49 209 1971449
45886 Gelsenkirchen



Search for: Match: Format: Sort by: