mrob
11/24/2021, 5:53 PMError Search filter removed 11/23/2021 9:41 pm Scientist Admin Filter expecting numeric value was removed, as non-numeric value 'KY' was provided
for
taxItemSearch.filters[2] = search.createFilter({ name: 'state', operator: 'is', values: state })
on a taxgroup
search? Is it expecting an internal id or something?mrob
11/24/2021, 5:54 PMselect
dropdown, but also says the same for country
which I use the same 2 character string for (‘US’, ‘DE’, etc.)mrob
11/24/2021, 5:56 PMtaxItemSearch.filters[0] = search.createFilter({name: 'country', operator: 'is', values: country})
taxItemSearch.filters[1] = search.createFilter({name: 'isinactive', operator: 'is', values: false})
if (country === 'US') {
taxItemSearch.filters[2] = search.createFilter({ name: 'state', operator: 'is', values: state })
}
battk
11/24/2021, 6:54 PMbattk
11/24/2021, 6:54 PMbattk
11/24/2021, 6:54 PMmrob
11/24/2021, 6:59 PMmrob
11/24/2021, 6:59 PMsearch.createFilter({name: 'formulatext', operator: 'is', values: state, formula: '{state}'})
apparently this dropdown is somehow different than the country dropdown even though the schema browser says they’re the same facepalmbattk
11/25/2021, 12:17 AMbattk
11/25/2021, 12:17 AMmrob
11/25/2021, 1:02 AM