Bugzilla – Attachment 191371 Details for
Bug 41605
Fix incorrect default value keys in Vue
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41605: Fix incorrect default key
Bug-41605-Fix-incorrect-default-key.patch (text/plain), 2.00 KB, created by
Matt Blenkinsop
on 2026-01-13 16:45:46 UTC
(
hide
)
Description:
Bug 41605: Fix incorrect default key
Filename:
MIME Type:
Creator:
Matt Blenkinsop
Created:
2026-01-13 16:45:46 UTC
Size:
2.00 KB
patch
obsolete
>From 6cd4fb2bb61fd6cbcc96a867a0039e50a3f21a6f Mon Sep 17 00:00:00 2001 >From: Matt Blenkinsop <matt.blenkinsop@openfifth.co.uk> >Date: Tue, 13 Jan 2026 16:44:00 +0000 >Subject: [PATCH] Bug 41605: Fix incorrect default key > >Test plan: >1) Create a new vendor, the status should be inactive by default >2) Apply patch, yarn js:build and hard refresh >3) The vendor should now default to active >--- > .../components/Admin/RecordSources/RecordSourcesResource.vue | 2 +- > .../prog/js/vue/components/Vendors/VendorResource.vue | 2 +- > 2 files changed, 2 insertions(+), 2 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 55c928b0fc0..e3e350a3d7f 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 >@@ -58,7 +58,7 @@ export default { > name: "can_be_edited", > type: "checkbox", > label: $__("Can be edited"), >- value: false, >+ defaultValue: false, > }, > ], > }); >diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Vendors/VendorResource.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/Vendors/VendorResource.vue >index b63271401ff..8a0d3db454d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Vendors/VendorResource.vue >+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/Vendors/VendorResource.vue >@@ -473,7 +473,7 @@ export default { > { value: true, description: $__("Active") }, > { value: false, description: $__("Inactive") }, > ], >- value: true, >+ defaultValue: true, > }, > { > name: "list_currency", >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 41605
: 191371