Skip to content

Commit

Permalink
Merge pull request #1664 from ProcessMaker/observation/FOUR-17516
Browse files Browse the repository at this point in the history
FOUR-17516 It is not possible to filter all sections from the search …
  • Loading branch information
ryancooley authored Aug 9, 2024
2 parents 64063ad + 4af6a08 commit 996b21d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
if [[ ${{ contains(github.event.pull_request.body, 'ci:next') }} ]]; then
export VFE_BRANCH=next
fi
if [[ ${{ steps.install-vfe.outputs.match != '' }} ]]; then
if [[ "${{ steps.install-vfe.outputs.match }}" != "" ]]; then
export VFE_BRANCH=${{ steps.install-vfe.outputs.group1 }}
fi
echo "VFE_BRANCH=${VFE_BRANCH}" >> $GITHUB_ENV
Expand Down
9 changes: 6 additions & 3 deletions src/components/vue-form-builder.vue
Original file line number Diff line number Diff line change
Expand Up @@ -647,10 +647,13 @@ export default {

const excludedLabels = [""];

let filter = this.filterQuery.toLowerCase();
const filtered = this.controls.filter((control) => {
return control.label
.toLowerCase()
.includes(this.filterQuery.toLowerCase());
let result = control.label.toLowerCase().includes(filter);
if (control.group.toLowerCase().includes(filter)) {
result = true;
}
return result;
});

return filtered;
Expand Down

0 comments on commit 996b21d

Please sign in to comment.