Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Search Query question  (Read 2134 times)

0 Members and 1 Guest are viewing this topic.

MarianneC

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 32
Search Query question
« on: August 16, 2008, 07:46:48 pm »

I wasn't sure what category this really belongs in.  I'm trying to structure a search query, and I'm not getting the results that I expect.

If I want to get only folks located at 551 Tremont Street, I've written this query:

thumbnails.php?album=search&type=full&search=551+Tremont

However, that seems to be returning anything with Tremont in it.  What operator should I be using to just get 551 Tremont?

Thanks,
Marianne
Logged

MarianneC

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 32
Re: Search Query question
« Reply #1 on: August 18, 2008, 03:33:47 am »

Is there any documentation on the search function?
Logged

Nibbler

  • Guest
Re: Search Query question
« Reply #2 on: August 18, 2008, 10:18:24 am »

Yeah, read the code :)

It will search OR by default. You can change that to be AND by default in include/search.inc.php.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 15 queries.