Commit 7f834329 authored by Praibait's avatar Praibait

Réparation de la quicksearch (oups)

parent b6e2fe8a
......@@ -339,7 +339,7 @@ def quick_search(term, old=False, byidbde=False, hide_solde=False, exclude=None,
term_liked = like_replace(term) + "%"
term_regex = "^" + term
# On recherche sur les pseudos, puis les alias, puis les historiques
search_types = ["pseudo", "alias", "historique"] + ["nom", "prenom"] if byname else []
search_types = ["pseudo", "alias", "historique"] + (["nom", "prenom"] if byname else [])
# On ne modifie pas les chaînes trouvées
post_transform_term = lambda x : x
con, cur = BaseFonctions.getcursor()
......
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