Skip to content

Commit

Permalink
Display current filters (#81)
Browse files Browse the repository at this point in the history
* add current filter section

* Add tests for filter logic

* redirect from /base-clients to the index

* add remove links to filter items

* update dependencies

* Rename GrantTypes to make singular

* Alter structure of filters and update UI

* update dependencies
  • Loading branch information
thomasridd committed Mar 13, 2024
1 parent 46f97ef commit 98a12c4
Show file tree
Hide file tree
Showing 29 changed files with 1,910 additions and 1,500 deletions.
8 changes: 8 additions & 0 deletions assets/js/initMOJFilterPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,11 @@ new MOJFrontend.FilterToggleButton({
container: $('.moj-filter'),
},
})

function moveFilterTagsToResults() {
var newContainer = $('.moj-action-bar__filterTagsContainer')
var tagsContainer = $('.moj-filter__selected')
tagsContainer.appendTo(newContainer)
}

moveFilterTagsToResults()

0 comments on commit 98a12c4

Please sign in to comment.