- composer updates
- publisher_name dafault auf 'Geologische Bundesanstalt (GBA)' - componet facet-list auf facet-category unbenannt - change database.php um eventuell schema aus dem .env-file zu entnehmen, fall angegeben - LicencesTableSeeder.php amgepasst
This commit is contained in:
parent
bfd914a36d
commit
728687304c
12 changed files with 116 additions and 153 deletions
|
@ -12,7 +12,7 @@
|
|||
<!-- <facet-list v-bind:data="facets"></facet-list> -->
|
||||
<!-- <div class="card" v-for="(item, index) in facets" :key="index"> -->
|
||||
<div class="card" v-for="(values, key, index) in facets" :key="index">
|
||||
<facet-list :data="values" :filterName="key" @filter="onFilter"></facet-list>
|
||||
<facet-category :data="values" :filterName="key" @filter="onFilter"></facet-category>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -59,7 +59,8 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div> <!-- end eight columns -->
|
||||
|
||||
</div>
|
||||
<!-- <div class="card" v-for="item in results" :key="item.id">
|
||||
<img
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { Component, Vue } from 'vue-property-decorator';
|
||||
import VsInput from './text-search/vs-input.vue';
|
||||
import VsResults from './search-results/vs-results.vue';
|
||||
import FacetList from './search-results/facet-list.vue';
|
||||
import FacetCategory from './search-results/facet-category.vue';
|
||||
import ActiveFacetCategory from './search-results/active-facet-category.vue';
|
||||
import VsPagination from './search-results/vs-pagination.vue';
|
||||
import rdrApi from './search-results/dataservice';
|
||||
|
@ -11,7 +11,7 @@ import FilterItem from './models/filter-item';
|
|||
components: {
|
||||
VsInput,
|
||||
VsResults,
|
||||
FacetList,
|
||||
FacetCategory,
|
||||
ActiveFacetCategory,
|
||||
VsPagination
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@ import { Component, Vue, Prop, Provide } from 'vue-property-decorator';
|
|||
import FilterItem from '../models/filter-item';
|
||||
|
||||
@Component
|
||||
export default class ActiveFacetList extends Vue {
|
||||
export default class FacetCategory extends Vue {
|
||||
|
||||
ITEMS_PER_FILTER = 2;
|
||||
bar = '';
|
|
@ -29,8 +29,8 @@
|
|||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import FacetList from "./facet-list-class";
|
||||
export default FacetList;
|
||||
import FacetCategory from "./facet-category-class";
|
||||
export default FacetCategory;
|
||||
</script>
|
||||
|
||||
<style scoped>
|
12
resources/js/search/search-results/show-dataset-class.ts
Normal file
12
resources/js/search/search-results/show-dataset-class.ts
Normal file
|
@ -0,0 +1,12 @@
|
|||
import { Component, Vue, Prop } from 'vue-property-decorator';
|
||||
|
||||
@Component
|
||||
export default class ShowDataset extends Vue {
|
||||
|
||||
@Prop()
|
||||
dataset;
|
||||
|
||||
get results() {
|
||||
return this.dataset;
|
||||
};
|
||||
}
|
7
resources/js/search/search-results/show-dataset.vue
Normal file
7
resources/js/search/search-results/show-dataset.vue
Normal file
|
@ -0,0 +1,7 @@
|
|||
<template>
|
||||
<div class="search-detail">
|
||||
<div>
|
||||
<em>Author: {{ document.id }}</em>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue