From 6aa5e2b1cac9a2e3b6f3230ed931e7fe81791f8c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Sedat=20=C3=96ZT=C3=9CRK?=
<76204082+iamsedatozturk@users.noreply.github.com>
Date: Fri, 19 Jun 2026 15:07:03 +0300
Subject: [PATCH] =?UTF-8?q?IsDeleted=20s=C3=BCtunu=20eklendi?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Seeds/LanguagesData.json | 6 +++++
.../edit/form-fields/FormFieldTabLookup.tsx | 15 +++++++++--
ui/src/views/admin/listForm/lookupQuery.ts | 25 +++++++++++++++++++
.../admin/listForm/wizard/WizardStep3.tsx | 15 +++++++++--
4 files changed, 57 insertions(+), 4 deletions(-)
create mode 100644 ui/src/views/admin/listForm/lookupQuery.ts
diff --git a/api/src/Sozsoft.Platform.DbMigrator/Seeds/LanguagesData.json b/api/src/Sozsoft.Platform.DbMigrator/Seeds/LanguagesData.json
index 554979d..4df81ab 100644
--- a/api/src/Sozsoft.Platform.DbMigrator/Seeds/LanguagesData.json
+++ b/api/src/Sozsoft.Platform.DbMigrator/Seeds/LanguagesData.json
@@ -17588,6 +17588,12 @@
"en": "Columns load after selecting a Select Command",
"tr": "Select Command seçince sütunlar yüklenir"
},
+ {
+ "resourceName": "Platform",
+ "key": "ListForms.Wizard.Step3.SelectTable",
+ "en": "Select Table",
+ "tr": "Tablo Seç"
+ },
{
"resourceName": "Platform",
"key": "ListForms.Wizard.Step3.IncludeInEditingForm",
diff --git a/ui/src/views/admin/listForm/edit/form-fields/FormFieldTabLookup.tsx b/ui/src/views/admin/listForm/edit/form-fields/FormFieldTabLookup.tsx
index 8998101..f72ec57 100644
--- a/ui/src/views/admin/listForm/edit/form-fields/FormFieldTabLookup.tsx
+++ b/ui/src/views/admin/listForm/edit/form-fields/FormFieldTabLookup.tsx
@@ -13,6 +13,7 @@ import { number, object, string } from 'yup'
import { cascadeFilterOperator, columnLookupDataSourceTypeListOptions } from '../options'
import { FormFieldEditProps } from './FormFields'
import { ColumnCascadeFilterOperatorEnum, UiLookupDataSourceTypeEnum } from '@/proxy/form/models'
+import { buildLookupQuery } from '../../lookupQuery'
const schema = object().shape({
lookupDto: object()
@@ -190,7 +191,12 @@ function TablePickerModal({
{keyCol && nameCol && (
- {`SELECT "${keyCol}" AS "Key", "${nameCol}" AS "Name" FROM "${pickerTable?.tableName}" ORDER BY "${nameCol}";`}
+ {buildLookupQuery({
+ keyColumn: keyCol,
+ nameColumn: nameCol,
+ tableName: pickerTable?.tableName,
+ columns: pickerColumns,
+ })}
)}