From 147e77d7745f443e4c02dbca50444edca4c626d0 Mon Sep 17 00:00:00 2001 From: Martin Potier Date: Fri, 18 Sep 2015 17:09:15 +0200 Subject: [PATCH] Bugfix: search codes also --- Readme.md | 12 ++++++------ cherche.js | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Readme.md b/Readme.md index 6a304b9..0d18b3b 100644 --- a/Readme.md +++ b/Readme.md @@ -18,9 +18,9 @@ Start it by calling you internet navigator on `cherche.html`. Todo (sorted by priority) ------------------------- - 1. ~~Make the search case-insensitive (as well as accents insensitive)~~ - 11. ~~BUG: trim spaces from search expression~~ - 12. BUG: fix search for codes also - 2. Create a nice html page (may take several steps) - 3. Make it chrome compatible (some trouble with the first ajax call) - 4. Make the search mis-spelling safe (like Google does) + 0. ~~Make the search case-insensitive (as well as accents insensitive)~~ + 0. ~~BUG: trim spaces from search expression~~ + 0. ~~BUG: fix search for codes also~~ + 0. Create a nice html page (may take several steps) + 0. Make it chrome compatible (some trouble with the first ajax call) + 0. Make the search mis-spelling safe (like Google does) diff --git a/cherche.js b/cherche.js index 12d6624..c2f1b5f 100644 --- a/cherche.js +++ b/cherche.js @@ -177,7 +177,7 @@ function displayMany (a) { + ""+d.Catégorie+"" : ""; var cs = ""; - if (ds != "") { + if (ds == "") { var c = cisp.by("Code", o.Orig); cs = c ? ""+c.Code+""