#=require d3
$ ->

  $(".report.repository-select").on 'change', (e) =>
    repository = $(".report.repository-select").val()
    window.location = "repository?show=#{repository}"

  $(".dropdown-toggle").dropdown()

#=require d3
$ ->

  $(".report.repository-select").on 'change', (event) =>
    repository = $(".report.repository-select").val()
    window.location = "repository?show=#{repository}"

  $(".dropdown-toggle").dropdown()

  $("a.report.search").on 'click', (event) =>
    parameter = $(event.target).data('parameter')

Add jQuery on click event handler for search
Add jQuery on click event handler for search

Just added the click event handler to process metadata record search
requests. Currently, it just parses the data parameter to set if a
record is selected.

Signed-off-by: Konrad Reiche <4ff0213f56e2082fcd8c882d04c546881c579ce4@gmail.com>
