code: def _patch_stats_request(request):
      '''If the request has no filter config, add one that should do what is
      expected (include all items)
      see: PE-11813
      '''
      filt = request.get('filter', {})
      if not filt.get('config', None):
          request['filter'] = filters.date_range('acquired',
                                                 gt='1970-01-01T00:00:00Z')
      return requesf _patch_stats_request(request):
      '''If the request has no filter config, add one that should do what is
      expected (include all items)
      see: PE-11813
      '''
      filt = request.get('filter', {})
      if not filt.get('config', None):
          request['filter'] = filters.date_range('acquired',
                                                 gt='1970-01-01T00:00:00Z')
      return request
docs: If the request has no filter config, add one that should do what is
      expected (include all items)
      see: PE-11813