fix: refs #8316 filter
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Alex Moreno 2025-01-24 09:04:01 +01:00
parent e38e9b1dd7
commit 1455d8ce02
1 changed files with 14 additions and 14 deletions

View File

@ -144,6 +144,20 @@ const columns = computed(() => [
url: 'ItemTypes', url: 'ItemTypes',
order: 'name ASC', order: 'name ASC',
exprBuilder, exprBuilder,
userFilter: {
include: {
relation: 'worker',
scope: {
fields: ['id'],
include: {
relation: 'user',
scope: {
fields: ['id', 'name'],
},
},
},
},
},
}" }"
> >
<template #body> <template #body>
@ -156,20 +170,6 @@ const columns = computed(() => [
onDataSaved: () => tableRef.reload(), onDataSaved: () => tableRef.reload(),
formInitialData: {}, formInitialData: {},
}" }"
:user-filter="{
include: {
relation: 'worker',
scope: {
fields: ['id'],
include: {
relation: 'user',
scope: {
fields: ['id', 'name'],
},
},
},
},
}"
:columns="columns" :columns="columns"
auto-load auto-load
redirect="item/item-type" redirect="item/item-type"