Commit b31bcdec authored by Maxime Bombar's avatar Maxime Bombar

[ReadDatabase.py] Corrige requête parfois ambiguë

parent a304f351
......@@ -315,7 +315,7 @@ def quick_search(term, old=False, byidbde=False, hide_solde=False, exclude=None,
"specific_where" : "h.idbde = c.idbde AND h.valide AND " + _forge_test("h.avant", is_regex) + excludehistorique},
"idbde" : {"specific_select" : "c.idbde AS terme, c.idbde",
"specific_from" : "",
"specific_where" : "CAST(idbde AS text) LIKE %(term_liked)s"},
"specific_where" : "CAST(c.idbde AS text) LIKE %(term_liked)s"},
"nom" : {"specific_select" : "c.nom AS terme, c.idbde",
"specific_from" : "",
"specific_where" : _forge_test("c.nom", is_regex)},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment