Bugzilla – Attachment 42633 Details for
Bug 14510
Allow column visibility in additem.pl to be customized
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14510: (QA followup) fix columns settings in other pages
Bug-14510-QA-followup-fix-columns-settings-in-othe.patch (text/plain), 1.80 KB, created by
Jonathan Druart
on 2015-09-17 07:12:16 UTC
(
hide
)
Description:
Bug 14510: (QA followup) fix columns settings in other pages
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-09-17 07:12:16 UTC
Size:
1.80 KB
patch
obsolete
>From b559f850939aaf2dc31c5841de5ee2c5f26a6f04 Mon Sep 17 00:00:00 2001 >From: Jesse Weaver <pianohacker@gmail.com> >Date: Mon, 14 Sep 2015 15:57:55 -0600 >Subject: [PATCH] Bug 14510: (QA followup) fix columns settings in other pages > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > koha-tmpl/intranet-tmpl/prog/en/includes/columns_settings.inc | 2 +- > koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt | 3 ++- > 2 files changed, 3 insertions(+), 2 deletions(-) > >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 9dd454c..ec86690 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/columns_settings.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/columns_settings.inc >@@ -10,7 +10,7 @@ function KohaTable(selector, dt_parameters, columns_settings) { > var excluded_ids = []; > $(columns_settings).each( function() { > var named_id = $( 'thead th[data-colname="' + this.columnname + '"]', selector ).index( 'th' ); >- var used_id = this.columnname ? named_id : id; >+ var used_id = dt_parameters.bKohaColumnsUseNames ? named_id : id; > if ( used_id == -1 ) return; > > if ( this['is_hidden'] == "1" ) { >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt >index 2e57eca..1b0e317 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt >@@ -58,7 +58,8 @@ $(document).ready(function(){ > ], > 'bPaginate': false, > 'bInfo': false, >- "bAutoWidth": false >+ "bAutoWidth": false, >+ "bKohaColumnsUseNames": true > }, columns_settings); > > }); >-- >2.1.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 14510
:
40977
|
41418
|
41419
|
41800
|
42353
|
42379
|
42624
|
42628
|
42629
|
42630
|
42631
|
42632
| 42633