Project

General

Profile

« Previous | Next » 

Revision 9ed89b70

Added by Marek Hulán almost 10 years ago

Fixes #5664 - Host filters can use taxonomies

Also disables taxonomy filters on resources that do not support them.

(cherry picked from commit 82b4749eeddabc542ebf1eaec6fdf2d76d2fdd75)

View differences:

app/assets/javascripts/filters.js
$('#filter_unlimited').change(function () {
$('#search').prop('disabled', $(this).prop('checked'));
});
$('li a[href="#organizations"]').toggle($('#filter_resource_type').data('allow-organizations'));
$('li a[href="#locations"]').toggle($('#filter_resource_type').data('allow-locations'));
});

Also available in: Unified diff