update: เพิ่มเจ้าของผลงานในค้นหาขั้นสูง
This commit is contained in:
parent
65aa1a6d15
commit
0c35ab48ad
3 changed files with 25 additions and 15 deletions
|
|
@ -36,6 +36,13 @@ export const useSearchDataStore = defineStore('searched', () => {
|
|||
exact: false,
|
||||
},
|
||||
])
|
||||
const optionsField = ref([
|
||||
{ label: 'ชื่อเรื่อง (title)', value: 'title' },
|
||||
{ label: 'คำสำคัญ (keyword)', value: 'keyword' },
|
||||
{ label: 'หมวดหมู่ (category)', value: 'category' },
|
||||
{ label: 'เนื้อหาในไฟล์ (content)', value: 'attachment.content' },
|
||||
{ label: 'เจ้าของผลงาน (author)', value: 'author' },
|
||||
])
|
||||
const advSearchDataField = ref<AdvancedSearchFields>({
|
||||
keyword: [],
|
||||
description: '',
|
||||
|
|
@ -52,6 +59,7 @@ export const useSearchDataStore = defineStore('searched', () => {
|
|||
isAdvSearchCall,
|
||||
searchData,
|
||||
advSearchDataRow,
|
||||
optionsField,
|
||||
advSearchDataField,
|
||||
getFoundFile,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue