Skip to content

Commit

Permalink
#739 remove whitespace between : and term for comaptibility with edis…
Browse files Browse the repository at this point in the history
…max search
  • Loading branch information
kindly authored and amercader committed Apr 12, 2013
1 parent 75b0952 commit 458528b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ckan/controllers/group.py
Expand Up @@ -197,9 +197,9 @@ def _read(self, id, limit):
q = c.q = request.params.get('q', '')
# Search within group
if c.group_dict.get('is_organization'):
q += ' owner_org: "%s"' % c.group_dict.get('id')
q += ' owner_org:"%s"' % c.group_dict.get('id')
else:
q += ' groups: "%s"' % c.group_dict.get('name')
q += ' groups:"%s"' % c.group_dict.get('name')

try:
description_formatted = ckan.misc.MarkdownFormat().to_html(
Expand Down

0 comments on commit 458528b

Please sign in to comment.