Skip to content

Commit

Permalink
[#2438] Dictize results list of resource_search action.
Browse files Browse the repository at this point in the history
Looks like this action wasn't even working!
  • Loading branch information
Ian Murray committed Jun 25, 2012
1 parent a68431a commit 5de38a8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ckan/logic/action/get.py
Expand Up @@ -1240,7 +1240,8 @@ def resource_search(context, data_dict):
else:
results.append(result)

return {'count': count, 'results': results}
return {'count': count,
'results': model_dictize.resource_list_dictize(results, context)}

def _tag_search(context, data_dict):
model = context['model']
Expand Down

0 comments on commit 5de38a8

Please sign in to comment.