Fix bug on select2 in modal filters, add filters by tags and shelves on articles

This commit is contained in:
Ludovic CANDELLIER
2022-01-30 15:04:08 +01:00
parent ba04007f86
commit 88d87ceaab
6 changed files with 64 additions and 15 deletions

View File

@@ -9,7 +9,7 @@
var $filter = $('#{{ $model ?? null }}-table-header .btn-filter');
$('#modal-{{ $model ?? null }}-filters').on('shown.bs.modal', function () {
initSelect2();
initSelect2('.select2', '#modal-{{ $model ?? null }}-filters');
});
$('#modal-{{ $model ?? null }}-filters .apply').click(function() {