https://github.com/okfn/ckan/blob/master/ckan/lib/helpers.py#L614 `h.get_action()` has arrived so yes this should be changed.