mirror of
https://github.com/humhub/humhub.git
synced 2025-01-16 21:58:17 +01:00
Fix filter for select2 fields on "People" page (#5799)
* Fix filter for select2 fields on "People" page * Update CHANGELOG.md Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
This commit is contained in:
parent
5868e48c02
commit
e924bb0302
@ -4,6 +4,7 @@ HumHub Changelog
|
||||
1.11.4 (Unreleased)
|
||||
----------------------
|
||||
- Fix #5776: Hide beta modules on disabled filter
|
||||
- Fix #5799: Incorrect selection when multiple custom filters are in place
|
||||
- Fix #5780: Don't hide icon "remove item" on picker
|
||||
|
||||
1.11.3 (June 27, 2022)
|
||||
|
@ -3,7 +3,11 @@ humhub.module('cards', function(module, require, $) {
|
||||
const loader = require('ui.loader');
|
||||
|
||||
const applyFilters = function(evt) {
|
||||
$(evt.$trigger).closest('form').submit();
|
||||
const form = $(evt.$trigger).closest('form');
|
||||
form.find('select[data-select2-id] option[data-id]').each(function() {
|
||||
$(this).val($(this).data('id'));
|
||||
});
|
||||
form.submit();
|
||||
}
|
||||
|
||||
const selectTag = function (evt) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user