Bugzilla – Attachment 136143 Details for
Bug 30938
Fix column configuration to the acquisitions home page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30938: Convert ColumnSettings to TableSettings
Bug-30938-Convert-ColumnSettings-to-TableSettings.patch (text/plain), 1.79 KB, created by
Martin Renvoize (ashimema)
on 2022-06-16 10:11:55 UTC
(
hide
)
Description:
Bug 30938: Convert ColumnSettings to TableSettings
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2022-06-16 10:11:55 UTC
Size:
1.79 KB
patch
obsolete
>From 1b065d0d1743ed4a6f92145cfb3f0261e7ef3d99 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Fri, 10 Jun 2022 17:27:16 +0000 >Subject: [PATCH] Bug 30938: Convert ColumnSettings to TableSettings > >To test: >1. Apply this patch >2. Go to /cgi-bin/koha/acqui/acqui-home.pl >3. The columns button should be restored, make sure you can hide/show columns correctly. >4. Go to Table settings and make sure you can hide columns properly by default. > >Signed-off-by: David Nind <david@davidnind.com> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt >index e7041bf479..94d28d5f17 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt >@@ -217,7 +217,7 @@ > dt_overwrite_html_sorting_localeCompare(); > > $(document).ready(function() { >- var column_settings = [% TablesSettings.GetColumns( 'acqui', 'acq_acqui-home', 'accounts', 'json' ) | $raw %]; >+ var table_settings = [% TablesSettings.GetTableSettings( 'acqui', 'acq_acqui-home', 'accounts', 'json' ) | $raw %]; > var oTable = KohaTable("accounts", { > "fnDrawCallback": function ( oSettings ) { > if ( oSettings.aiDisplay.length == 0 ) >@@ -257,7 +257,7 @@ > 'aaSortingFixed': [[ 1, 'asc' ]], > 'bPaginate': false, > "bAutoWidth": false >- }, column_settings ); >+ }, table_settings ); > > $(oTable).treetable({ > expandable: true >-- >2.20.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 30938
:
135956
|
135977
| 136143