Re: [pmapper-users] search.xml with 2 fields

2013-04-03 Thread Chris forum
Hi Thomas, Thx a lot for the explanation, I have chosen to use the nosubmit=1 parameter. First field works now, the query is not launched anymore when a suggested street name is clicked: definition type=suggest connectiontype=db minlength=1 startleft=1 sort=asc *nosubmit=1* So I am a step

Re: [pmapper-users] search.xml with 2 fields

2013-04-03 Thread Thomas RAFFIN
Hi, With your data and this search definition it worked yesterday: searchitem name=goeland_adresses description=Adresses -Suggest Suggest PGSQL- layer type=postgis name=goeland_addresse_lausanne field type=s name=lastname description=Rue wildcard=2 definition

Re: [pmapper-users] search.xml with 2 fields

2013-04-03 Thread Chris forum
Still no luck here... I copy/paste your search above, replacing the test shema with public one, but the second field is still not proposing anything. Here under the content of the pm_debug.log, with 'abe'-Abeilles and '2' values used in the fields. Looking at the last line of the log, I have

Re: [pmapper-users] search.xml with 2 fields

2013-04-03 Thread Thomas RAFFIN
The compress js version is certainly not up-to-date. Try to change your configuration like this: pm_javascript_locationjavascript/src/pm_javascript_location Armin, could you update the js compress files please? Le 03/04/2013 14:35, Chris forum a écrit : Still no luck here... I copy/paste your

Re: [pmapper-users] search.xml with 2 fields

2013-04-03 Thread Chris forum
Well done! \o/ Works perfectly now : )) Thank you so much Thomas! Should I dare asking a last question? Do I better use this, what is it actually doing? eventsonchange=$('#pmsfld_numero').val('').flushCache()/events On Wed, Apr 3, 2013 at 3:28 PM, Thomas RAFFIN traf...@sirap.fr wrote: The

Re: [pmapper-users] search.xml with 2 fields

2013-04-03 Thread Armin Burger
On 04/03/2013 03:28 PM, Thomas RAFFIN wrote: The compress js version is certainly not up-to-date. Armin, could you update the js compress files please? Hi Thomas I updated now the compressed JS files to SVN trunk. I was believing you were also committing these ones to SVN. It means that the

Re: [pmapper-users] search.xml with 2 fields

2013-04-03 Thread Armin Burger
On 04/03/2013 03:55 PM, Chris forum wrote: Should I dare asking a last question? Do I better use this, what is it actually doing? eventsonchange=$('#pmsfld_numero').val('').flushCache()/events that resets the text input field and empties the auto-complete cache of the suggest, so usually it