app/workers/open_data_required_reports_worker.rb
# Returns the URL with search params for a required report.
#
# For example:
#   https://a860-gpp.nyc.gov/catalog?utf8=%E2%9C%93&locale=en&agency=Agency&required_report_name=Required%20Report&sort=date_published_ssi+desc&search_field=advanced
Returns the URL with search params for a required report.
Returns the URL with search params for a required report .
def create_link_to_reports(agency, report_name)
    ENV['RAILS_HOST'] + "/catalog?utf8=%E2%9C%93&locale=en&agency=#{URI::encode(agency)}" +
      "&required_report_name=#{URI::encode(report_name)}" +
      '&sort=date_published_ssi+desc&search_field=advanced'
  end
def create_link_to_reports ( agency , report_name ) ENV [ 'RAILS_HOST' ] + "/catalog?utf8=%E2%9C%93&locale=en&agency=#{URI::encode(agency)}" + "&required_report_name=#{URI::encode(report_name)}" + '&sort=date_published_ssi+desc&search_field=advanced' end
Returns the URL with search params for a required report.
Returns the URL with search params for a required report .
agency
<not_specific>
report_name
<not_specific>