[Cartoweb-users] search plugin again!!

Oliver Christen oliver.christen at camptocamp.com
Thu Sep 18 02:54:30 EDT 2008


I cant see the problem either without being able to look at your tooltips.ini and your mapfile

The search is indeed case specific.
You may need to extend the plugin so you can modify the "where" sql clause to be more "easygoing"
See function getWhere in Search.php

  ----- Original Message ----- 
  From: Claire Chastagnol 
  To: cartoweb-users at lists.maptools.org 
  Sent: Wednesday, September 17, 2008 4:30 PM
  Subject: [Cartoweb-users] search plugin again!!

  Hi evrybody,

  I have some new problems and questions for the plugin search.

  First, I put in my project different searches which are each independant from the others: search by name of roads, search by name of town, ...
  All are working but one!! When I make a search by town names, the ajax function answer well but all the lines of my table appear in my page!! So it seems it does not take into account the element I want to search. I can't see the problem since I wrote this search exactly like all the others which are working!

  Finally, I see that the search is sensible to the way you write things. If it is not exactly like the way it is written in your database, the search is unsuccessful. It's kind of annoying for the accents or uppercases. Can I improve this?

  Thanks a lot!


  Cartoweb-users mailing list
  Cartoweb-users at lists.maptools.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20080918/2fbdaf74/attachment.html

More information about the Cartoweb-users mailing list