From e1ef6b4b1b00b51ecc9c02157f6bae265b11b53a Mon Sep 17 00:00:00 2001
From: Adam Coldrick <adam.coldrick@codethink.co.uk>
Date: Wed, 11 May 2016 14:06:05 +0000
Subject: [PATCH] Fix error in search due to multiple `title` columns in query

Searching for tasks is broken because we attempt to filter a query
with multiple columns called `title` ambiguously (on `title` instead
of `tasks.title`).

This is due to a bug in the version of sqlalchemy_fulltext currently
in use on storyboard.openstack.org (version 0.2). This bug was fixed by
version 0.2.2, but we may as well require 0.2.3 (the current latest
release).

Story: 2000579
Change-Id: Ia8c8c6a35a52188ac8f596fb7fed0eb7adbbea33
---
 requirements.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/requirements.txt b/requirements.txt
index 867ea15d..c12b1686 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -18,7 +18,7 @@ six>=1.7.0
 SQLAlchemy>=0.9.7,<=0.9.99
 WSME>=0.6,<0.8
 sqlalchemy-migrate>=0.9.1,!=0.9.2
-SQLAlchemy-FullText-Search
+SQLAlchemy-FullText-Search>=0.2.3
 eventlet>=0.13.0
 stevedore>=1.3.0
 tzlocal>=1.1.2