diff --git a/frontend/src/components/print/config/SummaryConfig.vue b/frontend/src/components/print/config/SummaryConfig.vue index 637bbb4eb9b..7d5848036f9 100644 --- a/frontend/src/components/print/config/SummaryConfig.vue +++ b/frontend/src/components/print/config/SummaryConfig.vue @@ -16,7 +16,7 @@ @input="$emit('input')" /> diff --git a/pdf/src/campPrint/summary/SummaryDay.vue b/pdf/src/campPrint/summary/SummaryDay.vue index 89c54e00671..ff14abedcd3 100644 --- a/pdf/src/campPrint/summary/SummaryDay.vue +++ b/pdf/src/campPrint/summary/SummaryDay.vue @@ -36,7 +36,7 @@ export default { period: { type: Object, required: true }, day: { type: Object, required: true }, contentType: { type: String, required: true }, - filter: { type: String, default: '' }, + instanceNameFilter: { type: String, default: '' }, }, computed: { date() { @@ -58,12 +58,12 @@ export default { contentNode.root()._meta.self === scheduleEntry.activity().rootContentNode()._meta.self && !isEmptyHtml(contentNode.data.html) && - (!this.filter || contentNode.instanceName + (!this.instanceNameFilter || contentNode.instanceName ?.toLowerCase() - .includes(this.filter.toLowerCase()) || + .includes(this.instanceNameFilter.toLowerCase()) || this.$tc(`contentNode.${camelCase(this.contentType)}.name`) .toLowerCase() - .includes(this.filter.toLowerCase())) + .includes(this.instanceNameFilter.toLowerCase())) ) .map((chapter) => ({ ...chapter, diff --git a/pdf/src/campPrint/summary/SummaryPeriod.vue b/pdf/src/campPrint/summary/SummaryPeriod.vue index 405643279ce..df720ae1c9f 100644 --- a/pdf/src/campPrint/summary/SummaryPeriod.vue +++ b/pdf/src/campPrint/summary/SummaryPeriod.vue @@ -6,14 +6,14 @@ $tc('print.summary.title') + ' ' + translatedContentNode + - (filter ? ` '${filter}'` : '') + + (instanceNameFilter ? ` '${instanceNameFilter}'` : '') + ': ' + period.description, fit: true, }" class="summary-period-title" >{{ $tc('print.summary.title') }} {{ translatedContentNode - }}: {{ period.description }} "{{ instanceNameFilter }}": {{ period.description }}