diff getan/backend.py @ 559:fbe26b0e59ed

Make the selection of projects in getan-report case-sensitive again
author Magnus Schieder <mschieder@intevation.de>
date Tue, 12 May 2020 14:41:40 +0200
parents 28b1c18c900f
children c8e63e919a90
line wrap: on
line diff
--- a/getan/backend.py	Fri Feb 14 14:56:18 2020 +0100
+++ b/getan/backend.py	Tue May 12 14:41:40 2020 +0200
@@ -289,6 +289,7 @@
         cur = None
         try:
             cur = self.con.cursor()
+            cur.execute("PRAGMA case_sensitive_like = true;")
             cur.execute(LOAD_ACTIVE_PROJECTS_LIKE, {"project_id": key})
 
             projects = []
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)