Skip to content
Snippets Groups Projects
Commit 96da3bfe authored by Bertrand  NÉRON's avatar Bertrand NÉRON
Browse files

replace ENDKEY value as couchdb.web.pasteur.fr doesnot decode utf8

properly
parent efe8b5ef
No related branches found
No related tags found
No related merge requests found
...@@ -193,7 +193,7 @@ $(".tooltip a" , "#results").live('mouseenter', function(){ ...@@ -193,7 +193,7 @@ $(".tooltip a" , "#results").live('mouseenter', function(){
var key= $.trim($("#nameInput").attr("value")); var key= $.trim($("#nameInput").attr("value"));
if( key ){ if( key ){
params.startkey='"'+key+'"'; params.startkey='"'+key+'"';
params.endkey='"'+key+'\uFFFF"'; params.endkey='"'+key+'ZZZZ"';
params.query_type="start_with"; params.query_type="start_with";
} }
}else{ }else{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment