Bugzilla – Attachment 188367 Details for
Bug 40942
Vendor's contacts not displayed nicely on the vendor detail view
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40942: Account for the order of split panes in split screen view
Bug-40942-Account-for-the-order-of-split-panes-in-.patch (text/plain), 1.46 KB, created by
Matt Blenkinsop
on 2025-10-23 14:52:49 UTC
(
hide
)
Description:
Bug 40942: Account for the order of split panes in split screen view
Filename:
MIME Type:
Creator:
Matt Blenkinsop
Created:
2025-10-23 14:52:49 UTC
Size:
1.46 KB
patch
obsolete
>From 382b673bcf18f0f22fefeed6eb91612f6ae2d54d Mon Sep 17 00:00:00 2001 >From: Matt Blenkinsop <matt.blenkinsop@openfifth.co.uk> >Date: Thu, 23 Oct 2025 15:51:55 +0100 >Subject: [PATCH] Bug 40942: Account for the order of split panes in split > screen view > >--- > .../prog/js/vue/components/SplitScreenWrapper.vue | 12 +++++++++++- > 1 file changed, 11 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/SplitScreenWrapper.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/SplitScreenWrapper.vue >index ef0a7585c32..86e1b9ad650 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/SplitScreenWrapper.vue >+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/SplitScreenWrapper.vue >@@ -24,8 +24,18 @@ export default { > splitScreenGroupings: Array, > }, > setup(props) { >+ const getPaneSortOrder = group => { >+ return props.splitScreenGroupings.findIndex( >+ grp => grp.name === group >+ ); >+ }; > const determineGroupsForPane = pane => { >- return props.fieldList.filter(group => group.splitPane == pane); >+ const groups = props.fieldList.filter( >+ group => group.splitPane == pane >+ ); >+ return groups.sort( >+ (a, b) => getPaneSortOrder(a.name) - getPaneSortOrder(b.name) >+ ); > }; > const panesToDisplay = computed(() => { > return props.splitScreenGroupings >-- >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 40942
:
188360
|
188367
|
188368
|
188369
|
188663
|
188664
|
189534