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 committed Apr 8, 2013
1 parent f9bb3ee commit 4e149cb
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 4e149cb

Please sign in to comment.