       modalSpinner.open()
 
       $http.get('/api/waterpoints/stats_by/status_group',
-        cache: true
+        cache: cacheHttp
         params: _.omit($scope.params,'group'))
         .success (data, status, headers, config) ->
           total = d3.sum(data, (x) -> x.count)

    getProblems = () ->
      modalSpinner.open()
      $http.get('/api/waterpoints/stats_by/hardware_problem',
                cache: true
                params:
                  region: $scope.params?.region
                  lga: $scope.params?.lga


      if filter then url += "?" + filter

      $http.get(url, cache: cacheHttp)
        .success (data, status, headers, config) ->
          geoField = _.contains(['region','lga','ward'], groupfield)

