From 4fb92cb422703a959e385cc0c6b745cc6e386789 Mon Sep 17 00:00:00 2001 From: puri-ph4tt Date: Fri, 15 Dec 2023 10:08:23 +0700 Subject: [PATCH] =?UTF-8?q?feat:=20=E0=B9=80=E0=B8=9E=E0=B8=B4=E0=B9=88?= =?UTF-8?q?=E0=B8=A1=E0=B8=84=E0=B9=89=E0=B8=99=E0=B8=AB=E0=B8=B2=E0=B8=95?= =?UTF-8?q?=E0=B8=A3=E0=B8=87=E0=B8=95=E0=B8=B1=E0=B8=A7=E0=B9=83=E0=B8=99?= =?UTF-8?q?=E0=B8=AA=E0=B9=82=E0=B8=95=E0=B8=A3=E0=B9=8C=20search?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Services/client/src/stores/searched-data.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Services/client/src/stores/searched-data.ts b/Services/client/src/stores/searched-data.ts index 93d088a..7543f2e 100644 --- a/Services/client/src/stores/searched-data.ts +++ b/Services/client/src/stores/searched-data.ts @@ -11,6 +11,7 @@ export interface AdvancedSearch { op: 'AND' | 'OR' field: 'title' | 'keyword' value: string + exact: boolean } export interface AdvancedSearchFields { @@ -22,6 +23,7 @@ export const useSearchDataStore = defineStore('searched', () => { const foundFile = ref([]) const isAdvSearchCall = ref(false) const isSearch = ref(false) + const isExact = ref(false) const isActFoundFile = ref(false) const searchData = ref({ field: 'title', @@ -32,6 +34,7 @@ export const useSearchDataStore = defineStore('searched', () => { op: 'AND', field: 'title', value: '', + exact: false, }, ]) const advSearchDataField = ref({ @@ -46,6 +49,7 @@ export const useSearchDataStore = defineStore('searched', () => { return { foundFile, isSearch, + isExact, isAdvSearchCall, isActFoundFile, searchData,