Skip to content

Commit

Permalink
Merge pull request #26 from raft-tech/2802-correct-apply-filter
Browse files Browse the repository at this point in the history
2802-correct-apply-filter
  • Loading branch information
raftmsohani authored May 7, 2024
2 parents 113c956 + db246f7 commit 6b9a140
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## v0.2.1 (2024-05-07)

* fix: filter-list was concatenated incorrectly. Changed ? with & on tailing filters

## v0.2.0 (2022-04-14)

* fix: style regressions on filter components
Expand Down
3 changes: 3 additions & 0 deletions admin_interface/static/admin_interface/508/dropdown-filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ if (typeof (django) !== 'undefined' && typeof (django.jQuery) !== 'undefined') {
// This needs to be a function expression so `this` references the filter elements themselves
filter.onchange = function() {
const value = this.options[this.selectedIndex].value
if (options !== '') {
value = value.replace('?', '&')
}
options = options.concat(value)
};
}
Expand Down
2 changes: 1 addition & 1 deletion admin_interface/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# -*- coding: utf-8 -*-

__version__ = '0.2.0'
__version__ = '0.2.1'

0 comments on commit 6b9a140

Please sign in to comment.