This is the debug output just after sending the search:
[21-May-2007 16:15:57] P.MAPPER debug info
Searcharray in search.php->getSearchParameters()
 Array
(
    [FOGLIO] => f844_000100
    [MAPPALE] => 10
    [mode] => search
)

[21-May-2007 16:15:57] P.MAPPER debug info
Parameters for searchArray
file: query.php->q_execAttributeQuery

 Array
(
    [FOGLIO] => f844_000100
    [MAPPALE] => 10
    [mode] => search
)

[21-May-2007 16:15:57] P.MAPPER debug info
Parameters for searchParams
file: query.php->q_execAttributeQuery
 Array
(
    [layerName] => catastale
    [layerType] => shape
    [firstFld] => FOGLIO
    [qStr] => (( (  "[FOGLIO]" =~
/^(F|f)(8|8)(4|4)(4|4)(_|_)(0|0)(0|0)(0|0)(1|1)(0|0)(0|0)$/) )AND ( AND
"[MAPPALE]" =~ /^(1|1)(0|0)$/) )
)

Can it be the second AND just befor "[MAPPALE]" ?

Thanks
Luca


On 5/21/07, Armin Burger <[EMAIL PROTECTED]> wrote:
>
> For searches combined by 2 or more fields there were some bugs. I might
> not have removed them all. I'll have a look on it.
>
> You can also check the query parameters setting debug to 3 in the
> config.ini  and then look at the file pm_debug.log that is created in the
> same dir as the PHP error log.
>
> armin
>
> --
> Subject: Re: [pmapper-users] Search on exact value
>
> > Thanks Armin for the answer!
> >
> > Now got a problem, but i don't know if is a bug:
> >
> > I have got 2 search field: X and Y; if I set a value for each one, i
> > don't get any result.
> > If i set just X or just Y all works very fine and as result i got the
> > values i used in the both-field search.
> >
> > Am I missing something?
> >
> >
> > Thanks
> >
> > Luca
> >
> >
> > Il giorno 21/mag/07, alle ore 10:40, Armin Burger ha scritto:
> >
> > > use the wildcard="1" and the search will look for exact matching
> > > and only use wildcards when explicetly specified with an asterisk.
> > > some info about search definitions is at
> > >
> > > http://svn.pmapper.net/trac/wiki/UpgradeInfo
> > >
> > > armin
> > >
> > > --------
> > > Subject: [pmapper-users] Search on exact value
> > >
> > >> Hi to all,
> > >> I am using latest beta and it's working very fine!
> > >>
> > >> In the search feature,Is it possible to return just the matching item
> > >> and not all the ones that contain the string?
> > >> For example If i use 1 as search item for a layer, i got also all the
> > >> items that contains 1 (10,11,12,ecc..).
> > >>
> > >> Thank you very much
> > >>
> > >> Luca
> > >>
> > >
>
> --
> Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
> Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
>
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to