Closed (fixed)
Project:
Drupal core
Version:
6.x-dev
Component:
search.module
Priority:
Critical
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
19 Aug 2010 at 20:04 UTC
Updated:
20 Aug 2010 at 18:48 UTC
Hi,
this is my problem:
when I search for a word like "grille", everything works good on all pages of the pagination. As soon as i add an accent to the same word (grillé) the pagination doesn't work anymore. The keyword is changed to grillé, and of course, there are any result for this keyword.
Any idea?
My search module works with Ajax, and i have a multilingual website (i18n module)
Comments
Comment #1
jhodgdonAre you using just the core Search module for searching, or is it Solr, Lucene, etc.?
Comment #2
jhodgdonOh, you said you are using Ajax... maybe that is the problem? You must be using some contributed or custom search module...
The core search module should be OK I hope?
Comment #3
voxy commentedthank you jhodgdon, but i found the solution:
in my Drupal parseQueryString function I used
"args[pair[0]] = unescape(pair[1].replace(/\+/g, ' ')); " instead of
"args[pair[0]] = decodeURIComponent(pair[1].replace(/\+/g, ' ')); "