We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b4ea1f commit 7750e82Copy full SHA for 7750e82
xadmin/static/xadmin/js/xadmin.plugin.filters.js
@@ -1,7 +1,12 @@
1
(function($) {
2
3
$(function(){
4
-
+
5
+ // filter
6
+ $('.filter-multiselect input[type=checkbox]').click(function(e){
7
+ window.location.href = $(this).parent().attr('href');
8
+ });
9
10
// menber filter
11
$('.filter-number .remove').click(function(e){
12
$(this).parent().parent().find('input[type="number"]').val('');
xadmin/templates/xadmin/filters/checklist.html
@@ -1,5 +1,5 @@
{% load i18n %}
-<li class="dropdown-submenu">
+<li class="dropdown-submenu filter-multiselect">
<a><i class="icon-filter {% if spec.is_used %}text-success{%else%}text-muted{% endif %}"></i> {{ title }}</a>
<ul class="dropdown-menu">
{% for choice in choices %}
0 commit comments