Skip to content
Snippets Groups Projects
Unverified Commit 820762f0 authored by Dalton's avatar Dalton Committed by GitHub
Browse files

add category/location options back to meta/Parameter options (#15701)

parent 07d15926
Branches
Tags
No related merge requests found
......@@ -174,7 +174,26 @@ export function getParameterOptions(): ParameterOption[] {
? OPTIONS_WITH_OPERATOR_SUBTYPES.map(option =>
buildOperatorSubtypeOptions(option),
)
: [...PARAMETER_OPERATOR_TYPES["date"]]),
: [
{ type: "category", name: t`Category` },
{
type: "location/city",
name: t`City`,
},
{
type: "location/state",
name: t`State`,
},
{
type: "location/zip_code",
name: t`ZIP or Postal Code`,
},
{
type: "location/country",
name: t`Country`,
},
...PARAMETER_OPERATOR_TYPES["date"],
]),
].flat();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment