Bugzilla – Attachment 149416 Details for
Bug 33480
Improve display of the vendor aliases in the ERM module
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33480: Remove vendors when not needed
Bug-33480-Remove-vendors-when-not-needed.patch (text/plain), 4.73 KB, created by
Jonathan Druart
on 2023-04-11 09:10:09 UTC
(
hide
)
Description:
Bug 33480: Remove vendors when not needed
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2023-04-11 09:10:09 UTC
Size:
4.73 KB
patch
obsolete
>From 336501b6479185b67afd33422a8f2417a8e78176 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 11 Apr 2023 11:09:16 +0200 >Subject: [PATCH] Bug 33480: Remove vendors when not needed > >Several components retrieve the vendor list from store but it's not >needed in those components. >--- > .../prog/js/vue/components/ERM/EHoldingsEBSCOPackagesList.vue | 4 ---- > .../js/vue/components/ERM/EHoldingsEBSCOResourcesShow.vue | 3 --- > .../prog/js/vue/components/ERM/EHoldingsEBSCOTitlesList.vue | 4 ---- > .../js/vue/components/ERM/EHoldingsLocalResourcesShow.vue | 3 --- > .../js/vue/components/ERM/EHoldingsLocalTitlesFormAdd.vue | 4 ---- > 5 files changed, 18 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsEBSCOPackagesList.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsEBSCOPackagesList.vue >index 26c1f48c618..ac92eb039fc 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsEBSCOPackagesList.vue >+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsEBSCOPackagesList.vue >@@ -73,9 +73,6 @@ import KohaTable from "../KohaTable.vue" > > export default { > setup() { >- const vendorStore = inject("vendorStore") >- const { vendors } = storeToRefs(vendorStore) >- > const AVStore = inject("AVStore") > const { av_package_types, av_package_content_types } = > storeToRefs(AVStore) >@@ -89,7 +86,6 @@ export default { > }) > > return { >- vendors, > av_package_types, > av_package_content_types, > get_lib_from_av, >diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsEBSCOResourcesShow.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsEBSCOResourcesShow.vue >index 68d5e23e310..eb19c3e0249 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsEBSCOResourcesShow.vue >+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsEBSCOResourcesShow.vue >@@ -122,11 +122,8 @@ export default { > setup() { > const format_date = $date > >- const vendorStore = inject("vendorStore") >- const { vendors } = storeToRefs(vendorStore) > return { > format_date, >- vendors, > } > }, > data() { >diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsEBSCOTitlesList.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsEBSCOTitlesList.vue >index bbb550c83e3..429f0f465a0 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsEBSCOTitlesList.vue >+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsEBSCOTitlesList.vue >@@ -77,9 +77,6 @@ import KohaTable from "../KohaTable.vue" > > export default { > setup() { >- const vendorStore = inject("vendorStore") >- const { vendors } = storeToRefs(vendorStore) >- > const AVStore = inject("AVStore") > const { av_title_publication_types } = storeToRefs(AVStore) > const { get_lib_from_av } = AVStore >@@ -92,7 +89,6 @@ export default { > }) > > return { >- vendors, > av_title_publication_types, > get_lib_from_av, > escape_str, >diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsLocalResourcesShow.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsLocalResourcesShow.vue >index 3a043cfd2c8..b36901f9561 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsLocalResourcesShow.vue >+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsLocalResourcesShow.vue >@@ -102,11 +102,8 @@ export default { > setup() { > const format_date = $date > >- const vendorStore = inject("vendorStore") >- const { vendors } = storeToRefs(vendorStore) > return { > format_date, >- vendors, > } > }, > data() { >diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsLocalTitlesFormAdd.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsLocalTitlesFormAdd.vue >index 2c30ab9e0e0..9e930893136 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsLocalTitlesFormAdd.vue >+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsLocalTitlesFormAdd.vue >@@ -393,15 +393,11 @@ import { storeToRefs } from "pinia" > > export default { > setup() { >- const vendorStore = inject("vendorStore") >- const { vendors } = storeToRefs(vendorStore) >- > const AVStore = inject("AVStore") > const { av_title_publication_types } = storeToRefs(AVStore) > const { get_lib_from_av } = AVStore > > return { >- vendors, > av_title_publication_types, > get_lib_from_av, > } >-- >2.25.1
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 33480
:
149415
|
149416
|
149418
|
154936
|
154937
|
154942
|
154943
|
155277