Bugzilla – Attachment 68528 Details for
Bug 16759
Make OPAC holdings table configurable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16759: Followup
Bug-16759-Followup.patch (text/plain), 1.16 KB, created by
Nick Clemens (kidclamp)
on 2017-10-25 10:56:54 UTC
(
hide
)
Description:
Bug 16759: Followup
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2017-10-25 10:56:54 UTC
Size:
1.16 KB
patch
obsolete
>From 050fb1993f6d6ae52e50f4161ab8473f0747e7b9 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Wed, 25 Oct 2017 10:55:12 +0000 >Subject: [PATCH] Bug 16759: Followup > >Use index of elements in specific table >--- > koha-tmpl/opac-tmpl/bootstrap/en/includes/columns_settings.inc | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/columns_settings.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/columns_settings.inc >index b065a35..38422b2 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/columns_settings.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/columns_settings.inc >@@ -6,7 +6,8 @@ function KohaTable(selector, dt_parameters, columns_settings) { > var hidden_ids = []; > var included_ids = []; > $(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 : id; > if ( used_id == -1 ) return; > >-- >2.1.4
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 16759
:
65401
|
65512
|
65513
|
65563
|
65564
|
68342
|
68343
|
68344
|
68345
|
68346
|
68464
|
68465
|
68507
| 68528