Skip to content

Commit

Permalink
Fix legacy search endpoint, which wasn't calling the parent one
Browse files Browse the repository at this point in the history
  • Loading branch information
amercader committed Nov 20, 2015
1 parent 8dd54a1 commit eda687c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ckanext/googleanalytics/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ def search(self, ver=None, register=None):
pass
self._post_analytics(c.user, register, "search", id)

return ApiController.search(self, ver, register)


class GAResourceController(PackageController):
# intercept API calls to record via google analytics
Expand Down

0 comments on commit eda687c

Please sign in to comment.