Page 1 of 1

list search

PostPosted: Thu Feb 07, 2013 3:51 am
by dom
Hi,
I have a somewhat simplek question but couldn't find a answer, neither in the bord nor in the wiki.
Assuming I have a table with the columns 'names' (eg. bob, tom, hanna, susi and pete ) and 'age' (15, 30, 29, 100, 3). I now want to be able to search for a list, say i want the records for 'tom' and 'susi'. Is it possible to perform this in one search by just adding a list to the search field?

I'm not an expert in sql or php or anything related, so I was very happy to find xataface that is -- except nasmed issue -- perfect for my needs.

thanks!
dom

Re: list search

PostPosted: Thu Feb 07, 2013 9:57 am
by shannah
Check the wiki page on Xataface URL conventions. It will give you a good idea of what is possible with Xataface.
The global search field doesn't support "OR" searches, but the individual fields do.

E.g. You can search for "tom OR susi" in the "name" search field and it will return the tom and susi rows.

-Steve

Re: list search

PostPosted: Fri Feb 08, 2013 5:28 am
by dom
Yes, that's exactly what I was looking for.
Thanks