[FIX] HORILLA VIEWS: Filter tag not working in the card view

This commit is contained in:
Horilla
2025-01-16 16:48:48 +05:30
parent 11e8690697
commit 58e909317c
2 changed files with 1 additions and 2 deletions

View File

@@ -14,7 +14,7 @@
<div style="display: none">{{filter_dict}}</div>
<script>
function fieldLabel(value, field) {
if ({{keys_to_remove|safe}}.includes(field)) {
if (`{{keys_to_remove|safe}}`.includes(field)) {
return ""
}
fiedlElem = $(`#applyFilter`).closest(`form`).find(`[name=${field}]`);

View File

@@ -129,7 +129,6 @@
filterData[key] = value;
}
});
console.log(filterData)
$.ajax({
type: 'get',
url: `{% url 'last-applied-filter' %}`,