Loading transfer_service/db_connector.py +5 −8 Original line number Diff line number Diff line Loading @@ -530,16 +530,13 @@ class DbConnector(object): 'vos_data', 'vos_group', 'vos_import') AND (job_id ~ %s OR job_type ~ %s OR owner_id ~ %s OR user_name ~ %s) AND (job_id ~ %(str)s OR job_type ~ %(str)s OR owner_id ~ %(str)s OR user_name ~ %(str)s) ORDER BY creation_time DESC; """, (searchStr, searchStr, searchStr, searchStr,)) { 'str': searchStr }) result = cursor.fetchall() cursor.close() except Exception: Loading Loading
transfer_service/db_connector.py +5 −8 Original line number Diff line number Diff line Loading @@ -530,16 +530,13 @@ class DbConnector(object): 'vos_data', 'vos_group', 'vos_import') AND (job_id ~ %s OR job_type ~ %s OR owner_id ~ %s OR user_name ~ %s) AND (job_id ~ %(str)s OR job_type ~ %(str)s OR owner_id ~ %(str)s OR user_name ~ %(str)s) ORDER BY creation_time DESC; """, (searchStr, searchStr, searchStr, searchStr,)) { 'str': searchStr }) result = cursor.fetchall() cursor.close() except Exception: Loading