changeset 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 1a179ed1c9d7
children e17b7d1d9220
files getan/backend.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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)