Skip to content

Commit

Permalink
[#2733] Tidy up: remove unneeded 'factor' call.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnglover committed Jul 31, 2012
1 parent 697ed53 commit abd25e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/datastore/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ def _where(field_ids, data_dict):

q = data_dict.get('q')
if q:
where_clauses.append('_full_text @@ to_tsquery(%s)'.format(q))
where_clauses.append('_full_text @@ to_tsquery(%s)')
values.append(q)

where_clause = ' and '.join(where_clauses)
Expand Down

0 comments on commit abd25e4

Please sign in to comment.