Project

General

Profile

Defect #17881 ยป 0001-Render-only-issue-filters-which-are-available-in-the.patch

Holger Just, 2014-09-15 14:11

View differences:

app/views/queries/_filters.html.erb
7 7
$(document).ready(function(){
8 8
  initFilters();
9 9
  <% query.filters.each do |field, options| %>
10
  <% next unless query.available_filters.keys.include? field %>
10 11
  addFilter("<%= field %>", <%= raw_json query.operator_for(field) %>, <%= raw_json query.values_for(field) %>);
11 12
  <% end %>
12 13
});
    (1-1/1)