Bugzilla – Attachment 42624 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.73 KB, created by
Jesse Weaver
on 2015-09-16 23:24:09 UTC
(
hide
)
Description:
Bug 14510: (QA followup) fix columns settings in other pages
Filename:
MIME Type:
Creator:
Jesse Weaver
Created:
2015-09-16 23:24:09 UTC
Size:
1.73 KB
patch
obsolete
>From a4f21547e883df6b30600221acbd2ffb2aa2c9ad 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 > >--- > 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.5.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