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