Bugzilla – Attachment 100805 Details for
Bug 15668
Add column configuration to the items table in staff detail pages
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15668: (follow up) add selector to th
Bug-15668-follow-up-add-selector-to-th.patch (text/plain), 1.33 KB, created by
Lucas Gass (lukeg)
on 2020-03-16 17:51:45 UTC
(
hide
)
Description:
Bug 15668: (follow up) add selector to th
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2020-03-16 17:51:45 UTC
Size:
1.33 KB
patch
obsolete
>From fd5816187a97b169f7f8afbbcfbf517db197d870 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Mon, 16 Mar 2020 17:48:26 +0000 >Subject: [PATCH] Bug 15668: (follow up) add selector to th > >follow up add a selector to the <th> to ensure we count the table in questions. >Should not affect other pages but is needed on detail.tt where there are two tables to configure >--- > koha-tmpl/intranet-tmpl/prog/en/includes/columns_settings.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/columns_settings.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/columns_settings.inc >index 1117050110..0105ae38b6 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/columns_settings.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/columns_settings.inc >@@ -8,7 +8,7 @@ function KohaTable(id_selector, dt_parameters, columns_settings, add_filters) { > var selector = '#' + id_selector; > > $(columns_settings).each( function() { >- var named_id = $( 'thead th[data-colname="' + this.columnname + '"]', selector ).index( 'th' ); >+ var named_id = $( 'thead th[data-colname="' + this.columnname + '"]', selector ).index( selector + ' th' ); > var used_id = dt_parameters.bKohaColumnsUseNames ? named_id : counter; > if ( used_id == -1 ) return; > >-- >2.11.0
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 15668
:
72540
|
100641
|
100642
|
100786
|
100787
|
100805
|
101816
|
101817
|
104165
|
104166
|
104167
|
104168