From d4514247203307401fb958977bb1d0ff48415df5 Mon Sep 17 00:00:00 2001 From: Matt Blenkinsop Date: Tue, 2 Dec 2025 14:17:24 +0000 Subject: [PATCH] Bug 41355: Handle vue resources with no Show component Test plan: 1) Navigate to record sources and create a record source 2) In the table there will be a hyperlink on the record source name which shouldn't be there 3) Apply patch and rebuild javascript 4) Hard refresh and then observe that the table should no longer have a hyperlink Signed-off-by: David Nind --- .../RecordSources/RecordSourcesResource.vue | 7 +--- .../prog/js/vue/components/ResourceList.vue | 35 +++++++++---------- 2 files changed, 17 insertions(+), 25 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Admin/RecordSources/RecordSourcesResource.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/Admin/RecordSources/RecordSourcesResource.vue index eeb0e560f7..55c928b0fc 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Admin/RecordSources/RecordSourcesResource.vue +++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/Admin/RecordSources/RecordSourcesResource.vue @@ -45,12 +45,7 @@ export default { name: "record_source_id", required: true, type: "text", - label: $__("Id"), - tableColumnDefinition: { - title: $__("ID"), - data: "record_source_id", - searchable: true, - }, + label: $__("ID"), hideIn: ["Form"], }, { diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ResourceList.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ResourceList.vue index 7b8d51aee1..f8b4c3e70d 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ResourceList.vue +++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ResourceList.vue @@ -22,7 +22,7 @@