Skip to content

Commit

Permalink
Wrapper for change note view
Browse files Browse the repository at this point in the history
  • Loading branch information
lrosenstrom committed Nov 6, 2023
1 parent 22d87de commit 506d30d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion vue-client/src/components/search/search-form.vue
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ export default {
if (this.searchPerimeter === 'libris') {
type = this.activeSearchType;
} else if (this.searchTool === 'changes') {
type = 'ChangeCategory';
type = 'ChangeObservation';
}
}
return { '@type': type };
Expand Down
7 changes: 7 additions & 0 deletions vue-client/src/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,13 @@ export default {
order: 18,
},
},
'category.@id': {
sv: 'Ändringskategori',
en: 'Change category',
facet: {
order: 19,
},
},
'@reverse': {
sv: 'Relation',
en: 'Relation',
Expand Down
6 changes: 3 additions & 3 deletions vue-client/src/views/DirectoryCare.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ import * as HttpUtil from '@/utils/http';
import TabMenu from '@/components/shared/tab-menu';
import HoldingMover from '@/components/care/holding-mover';
import ModalComponent from '@/components/shared/modal-component';
import Find from './Find.vue';
import ChangeNotes from './ChangeNotes.vue';
export default {
name: 'DirectoryCare',
components: {
find: Find,
ChangeNotes,
'tab-menu': TabMenu,
'holding-mover': HoldingMover,
'modal-component': ModalComponent,
Expand Down Expand Up @@ -137,7 +137,7 @@ export default {
<div class="DirectoryCare">
<div v-if="fetchComplete">
<tab-menu @go="switchTool" :tabs="tabs" :active="$route.params.tool"></tab-menu>
<find v-if="$route.params.tool === 'changes'"></find>
<change-notes v-if="$route.params.tool === 'changes'"></change-notes>
<holding-mover
v-if="$route.params.tool === 'holdings'"
:flaggedInstances="flaggedInstances"/>
Expand Down

0 comments on commit 506d30d

Please sign in to comment.