diff --git a/.gitignore b/.gitignore index 179d68a..4e70dc5 100644 --- a/.gitignore +++ b/.gitignore @@ -21,4 +21,5 @@ pnpm-debug.log* *.njsproj *.sln *.sw? -/.env \ No newline at end of file +/.env +.env diff --git a/src/components/vs-input/vs-input.ts b/src/components/vs-input/vs-input.ts index 7bcba03..dbd5de7 100644 --- a/src/components/vs-input/vs-input.ts +++ b/src/components/vs-input/vs-input.ts @@ -31,10 +31,10 @@ export default class VsInput extends Vue { private selectedIndex = 0; private selectedDisplay = ""; private solr: SolrSettings = { - // core: "rdr_data", // SOLR.core; - // host: "tethys.at", - core: "test_data", // SOLR.core; - host: "repository.geologie.ac.at", + core: "rdr_data", // SOLR.core; + host: "tethys.at", + // core: "test_data", // SOLR.core; + // host: "repository.geologie.ac.at", }; // private rdrAPI!: DatasetService; itemRefs!: Array; diff --git a/src/models/dataset.ts b/src/models/dataset.ts index cfc87e7..d170a33 100644 --- a/src/models/dataset.ts +++ b/src/models/dataset.ts @@ -116,7 +116,7 @@ export class DbDataset { } } - public hasMethodsAbtract(): boolean { + public hasMethodsAbstract(): boolean { if (this.abstracts.some((e) => e.type === AbstractType.Methods)) { return true; } else { @@ -164,15 +164,15 @@ export class DbDataset { return this.abstracts.find((e) => e.type === AbstractType.Abstract); } - public get TranslatedAbtract(): Nullable { + public get TranslatedAbstract(): Nullable { return this.abstracts.find((e) => e.type === AbstractType.Translated); } - public get SeriesInformationAbtract(): Nullable { + public get SeriesInformationAbstract(): Nullable { return this.abstracts.find((e) => e.type === AbstractType.Series_information); } - public get MethodsAbtract(): Nullable { + public get MethodsAbstract(): Nullable { return this.abstracts.find((e) => e.type === AbstractType.Methods); } diff --git a/src/views/dataset-detail.component.ts/dataset-detail.component.vue b/src/views/dataset-detail.component.ts/dataset-detail.component.vue index 509cd33..035c9a9 100644 --- a/src/views/dataset-detail.component.ts/dataset-detail.component.vue +++ b/src/views/dataset-detail.component.ts/dataset-detail.component.vue @@ -75,21 +75,21 @@

{{ dataset.MainAbstract.value }}


- {{ dataset.TranslatedAbtract.value }} + {{ dataset.TranslatedAbstract.value }}

Serieninformation/
series information:
- {{ dataset.SeriesInformationAbstract.value }} + {{ dataset.SeriesInformationAbstract?.value }}
-
Methodik/
method:
-
- {{ dataset.MethodsAbtract.value }} +
+ {{ dataset.MethodsAbstract.value }}
-
diff --git a/src/views/search-view/search-view-component.ts b/src/views/search-view/search-view-component.ts index 00eda8b..135bed3 100644 --- a/src/views/search-view/search-view-component.ts +++ b/src/views/search-view/search-view-component.ts @@ -44,10 +44,10 @@ export default class SearchViewComponent extends Vue { loaded = false; numFound!: number; private solr: SolrSettings = { - // core: "rdr_data", // SOLR.core; - // host: "tethys.at", - core: "test_data", // SOLR.core; - host: "repository.geologie.ac.at", + core: "rdr_data", // SOLR.core; + host: "tethys.at", + // core: "test_data", // SOLR.core; + // host: "repository.geologie.ac.at", }; // private rdrAPI!: DatasetService; private error = "";