Conference y activities documents
This commit is contained in:
parent
e882a41510
commit
a09280f915
|
|
@ -4,8 +4,8 @@ import { breakpointsTailwind, useDebounce } from '@vueuse/core'
|
|||
import EstudiosTypensenseDetail from '~/components/estudiosTypensense/EstudiosTypensenseDetail.vue'
|
||||
import { useSettingsStore } from '~/stores/settings'
|
||||
|
||||
const PARAGRAPHS_COLLECTION = 'paragraphs'
|
||||
const DOCUMENTS_COLLECTION = 'documents'
|
||||
const PARAGRAPHS_COLLECTION = 'conferences_paragraphs'
|
||||
const CONFERENCES_COLLECTION = 'conferences'
|
||||
const QUERY_BY = 'text'
|
||||
const FAVORITES_COLLECTION = 'conferences-ts'
|
||||
|
||||
|
|
@ -184,7 +184,7 @@ async function fetchDocumentMeta(docIds: string[]) {
|
|||
multiSearchParameters: {},
|
||||
multiSearchSearchesParameter: {
|
||||
searches: [{
|
||||
collection: DOCUMENTS_COLLECTION,
|
||||
collection: CONFERENCES_COLLECTION,
|
||||
q: '*',
|
||||
queryBy: 'title',
|
||||
filterBy: `id:=[${unique.join(',')}]`,
|
||||
|
|
@ -313,7 +313,7 @@ async function runBrowse(page = 1, append = false) {
|
|||
multiSearchParameters: {},
|
||||
multiSearchSearchesParameter: {
|
||||
searches: [{
|
||||
collection: DOCUMENTS_COLLECTION,
|
||||
collection: CONFERENCES_COLLECTION,
|
||||
q: '*',
|
||||
queryBy: 'title',
|
||||
filterBy: filterBy.value,
|
||||
|
|
@ -444,7 +444,7 @@ async function fetchFullDocument(docId: string) {
|
|||
multiSearchParameters: {},
|
||||
multiSearchSearchesParameter: {
|
||||
searches: [{
|
||||
collection: DOCUMENTS_COLLECTION,
|
||||
collection: CONFERENCES_COLLECTION,
|
||||
q: '*',
|
||||
queryBy: 'title',
|
||||
filterBy: `id:=${docId}`,
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@ import { breakpointsTailwind, useDebounce } from '@vueuse/core'
|
|||
import EstudiosTypensenseDetail from '~/components/estudiosTypensense/EstudiosTypensenseDetail.vue'
|
||||
import { useSettingsStore } from '~/stores/settings'
|
||||
|
||||
const PARAGRAPHS_COLLECTION = 'paragraphs'
|
||||
const DOCUMENTS_COLLECTION = 'documents'
|
||||
const PARAGRAPHS_COLLECTION = 'activities_paragraphs'
|
||||
const ACTIVITIES_COLLECTION = 'activities'
|
||||
const QUERY_BY = 'text'
|
||||
const FAVORITES_COLLECTION = 'bible-studies-ts'
|
||||
|
||||
|
|
@ -185,7 +185,7 @@ async function fetchDocumentMeta(docIds: string[]) {
|
|||
multiSearchParameters: {},
|
||||
multiSearchSearchesParameter: {
|
||||
searches: [{
|
||||
collection: DOCUMENTS_COLLECTION,
|
||||
collection: ACTIVITIES_COLLECTION,
|
||||
q: '*',
|
||||
queryBy: 'title',
|
||||
filterBy: `id:=[${unique.join(',')}]`,
|
||||
|
|
@ -314,7 +314,7 @@ async function runBrowse(page = 1, append = false) {
|
|||
multiSearchParameters: {},
|
||||
multiSearchSearchesParameter: {
|
||||
searches: [{
|
||||
collection: DOCUMENTS_COLLECTION,
|
||||
collection: ACTIVITIES_COLLECTION,
|
||||
q: '*',
|
||||
queryBy: 'title',
|
||||
filterBy: filterBy.value,
|
||||
|
|
@ -444,7 +444,7 @@ async function fetchFullDocument(docId: string) {
|
|||
multiSearchParameters: {},
|
||||
multiSearchSearchesParameter: {
|
||||
searches: [{
|
||||
collection: DOCUMENTS_COLLECTION,
|
||||
collection: ACTIVITIES_COLLECTION,
|
||||
q: '*',
|
||||
queryBy: 'title',
|
||||
filterBy: `id:=${docId}`,
|
||||
|
|
|
|||
Loading…
Reference in New Issue