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,