1
0
Fork 0
mirror of synced 2024-09-12 23:43:09 +12:00
This commit is contained in:
Adria Navarro 2024-05-02 12:15:23 +01:00
parent 2e4b69e381
commit 34b6581aed

View file

@ -86,17 +86,18 @@ export function searchInputMapping(table: Table, options: RowSearchParams) {
}
for (let [key, column] of Object.entries(table.schema)) {
switch (column.type) {
case FieldType.BB_REFERENCE_SINGLE:
case FieldType.BB_REFERENCE_SINGLE: {
const subtype = column.subtype
switch (subtype) {
case BBReferenceFieldSubType.USER: {
case BBReferenceFieldSubType.USER:
userColumnMapping(key, options)
break
}
default:
utils.unreachable(subtype)
}
break
}
case FieldType.BB_REFERENCE: {
const subtype = column.subtype
switch (subtype) {