Skip to content

Commit

Permalink
Merge pull request #219 from Esri/b/changing-tags-default
Browse files Browse the repository at this point in the history
Changing tags filter to default to any
  • Loading branch information
Mike Ringrose authored Feb 7, 2020
2 parents d8dbece + b42c864 commit 101d29b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
## [3.6.5] - January 28th 2020

## [Unreleased][HEAD]

* Bug Fixes
* **search**: all filters should be consistent and default to "any"


## [3.6.4] - January 28th 2020
Expand Down
2 changes: 1 addition & 1 deletion packages/search/src/ago/helpers/filters/filter-schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const filterSchema: any = {
tags: {
type: "filter",
dataType: "string",
defaultOp: "all"
defaultOp: "any"
},
source: {
type: "filter",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ describe("createFilters test", () => {
const actual = createFilters(params);
const expected: any = {
tags: {
fn: "all",
fn: "any",
terms: ["a", "b", "c"],
catalogDefinition: undefined
},
Expand Down

0 comments on commit 101d29b

Please sign in to comment.