Commit 62267a6b authored by Antony Chazapis's avatar Antony Chazapis

Fix list public in SQLAlchemy backend module.

parent d7b9326a
......@@ -87,7 +87,7 @@ class Public(DBWorker):
def public_list(self, prefix):
s = select([self.public.c.path, self.public.c.public_id])
s = s.where(self.xfeatures.c.path.like(self.escape_like(prefix) + '%', escape='\\'))
s = s.where(self.public.c.path.like(self.escape_like(prefix) + '%', escape='\\'))
s = s.where(self.public.c.active == True)
r = self.conn.execute(s)
rows = r.fetchall()
......
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