Bugzilla – Attachment 191864 Details for
Bug 40191
Design pattern: Redirect user to a view of the record after saving instead of list
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40191: Tidy files without the DO NOT PUSH patch
Bug-40191-Tidy-files-without-the-DO-NOT-PUSH-patch.patch (text/plain), 3.04 KB, created by
Matt Blenkinsop
on 2026-01-22 14:46:12 UTC
(
hide
)
Description:
Bug 40191: Tidy files without the DO NOT PUSH patch
Filename:
MIME Type:
Creator:
Matt Blenkinsop
Created:
2026-01-22 14:46:12 UTC
Size:
3.04 KB
patch
obsolete
>From 6a2fce2fd265ce725c27fcc5cd17bf53fdf77757 Mon Sep 17 00:00:00 2001 >From: Matt Blenkinsop <matt.blenkinsop@openfifth.co.uk> >Date: Thu, 22 Jan 2026 14:45:53 +0000 >Subject: [PATCH] Bug 40191: Tidy files without the DO NOT PUSH patch > >--- > .../ERM/EHoldingsLocalPackageResource.vue | 18 ++++++++++-------- > .../js/vue/components/ERM/LicenseResource.vue | 4 ++-- > 2 files changed, 12 insertions(+), 10 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsLocalPackageResource.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsLocalPackageResource.vue >index 7dd2a4d9d8c..b4e6dc1c0c8 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsLocalPackageResource.vue >+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsLocalPackageResource.vue >@@ -252,18 +252,20 @@ export default { > ); > > if (package_id) { >- return baseResource.apiClient.update(erm_package, package_id).then( >- erm_package => { >- baseResource.setMessage($__("Package updated")); >- return erm_package >- }, >- error => {} >- ); >+ return baseResource.apiClient >+ .update(erm_package, package_id) >+ .then( >+ erm_package => { >+ baseResource.setMessage($__("Package updated")); >+ return erm_package; >+ }, >+ error => {} >+ ); > } else { > return baseResource.apiClient.create(erm_package).then( > erm_package => { > baseResource.setMessage($__("Package created")); >- return erm_package >+ return erm_package; > }, > error => {} > ); >diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/LicenseResource.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/LicenseResource.vue >index 5efeb043235..4a1d5654ca2 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/LicenseResource.vue >+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/LicenseResource.vue >@@ -383,7 +383,7 @@ export default { > return baseResource.apiClient.update(license, license_id).then( > license => { > baseResource.setMessage($__("License updated")); >- return license >+ return license; > }, > error => {} > ); >@@ -391,7 +391,7 @@ export default { > return baseResource.apiClient.create(license).then( > license => { > baseResource.setMessage($__("License created")); >- return license >+ return license; > }, > error => {} > ); >-- >2.50.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 40191
:
188107
|
188108
|
188109
|
188137
|
188138
|
188139
|
188164
|
188165
|
188167
|
188193
|
188194
|
188195
|
188196
|
188197
|
188198
|
188201
|
188202
|
188203
|
188768
|
188769
|
188770
|
188771
|
188772
|
188773
|
188774
|
188775
|
188776
| 191864