fix search collator filter
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-search-backend-module-catalog': patch
|
||||
---
|
||||
|
||||
Fixed a bug where the `filter` setting of the collator was not permitted to be an array.
|
||||
@@ -73,7 +73,7 @@ export function readCollatorConfigOptions(configRoot: Config): {
|
||||
config.getOptionalString('locationTemplate') ??
|
||||
defaults.collatorOptions.locationTemplate,
|
||||
filter:
|
||||
config.getOptionalConfig('filter')?.get<EntityFilterQuery>() ??
|
||||
config.getOptional<EntityFilterQuery>('filter') ??
|
||||
defaults.collatorOptions.filter,
|
||||
batchSize:
|
||||
config.getOptionalNumber('batchSize') ??
|
||||
|
||||
Reference in New Issue
Block a user