Merge pull request #3311 from Budibase/block-search-improvements
Improve block searching
This commit is contained in:
commit
143510ceb8
|
@ -49,7 +49,7 @@
|
||||||
columns?.forEach(column => {
|
columns?.forEach(column => {
|
||||||
enrichedFilter.push({
|
enrichedFilter.push({
|
||||||
field: column.name,
|
field: column.name,
|
||||||
operator: "equal",
|
operator: column.type === "string" ? "string" : "equal",
|
||||||
type: "string",
|
type: "string",
|
||||||
valueType: "Binding",
|
valueType: "Binding",
|
||||||
value: `{{ [${formId}].[${column.name}] }}`,
|
value: `{{ [${formId}].[${column.name}] }}`,
|
||||||
|
@ -68,6 +68,7 @@
|
||||||
enrichedColumns.push({
|
enrichedColumns.push({
|
||||||
name: column,
|
name: column,
|
||||||
componentType,
|
componentType,
|
||||||
|
type: schemaType,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
@ -48,7 +48,7 @@
|
||||||
columns?.forEach(column => {
|
columns?.forEach(column => {
|
||||||
enrichedFilter.push({
|
enrichedFilter.push({
|
||||||
field: column.name,
|
field: column.name,
|
||||||
operator: "equal",
|
operator: column.type === "string" ? "string" : "equal",
|
||||||
type: "string",
|
type: "string",
|
||||||
valueType: "Binding",
|
valueType: "Binding",
|
||||||
value: `{{ [${formId}].[${column.name}] }}`,
|
value: `{{ [${formId}].[${column.name}] }}`,
|
||||||
|
@ -67,6 +67,7 @@
|
||||||
enrichedColumns.push({
|
enrichedColumns.push({
|
||||||
name: column,
|
name: column,
|
||||||
componentType,
|
componentType,
|
||||||
|
type: schemaType,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue