Support CF search where special chars or spaces in CF names
Here's a diff against rt.py. This puts quotes around the CF name so that it can support more character names:
--- rt.py.orig 2016-12-08 09:35:23.733090223 -0500
+++ rt.py 2016-12-07 16:00:43.775027170 -0500
@@ -453,7 +453,7 @@
if key[:3] != 'CF_':
query.append("%s%s\'%s\'" % (key, op, value))
else:
- query.append("CF.{%s}%s\'%s\'" % (key[3:], op, value))
+ query.append("'CF.{%s}'%s\'%s\'" % (key[3:], op, value))
else:
query.append(raw_query)
get_params['query'] = ' AND '.join('(' + part + ')' for part in query)