Bugzilla – Attachment 149976 Details for
Bug 33484
Generalise table saveState for all tables
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33484: Revert template change on suggestion.tt
Bug-33484-Revert-template-change-on-suggestiontt.patch (text/plain), 1.68 KB, created by
Martin Renvoize
on 2023-04-20 16:16:55 UTC
(
hide
)
Description:
Bug 33484: Revert template change on suggestion.tt
Filename:
MIME Type:
Creator:
Martin Renvoize
Created:
2023-04-20 16:16:55 UTC
Size:
1.68 KB
patch
obsolete
>From 580eda9e8d19fa6434d7f7bb8c8eddd50152c177 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Tue, 11 Apr 2023 15:15:52 +0100 >Subject: [PATCH] Bug 33484: Revert template change on suggestion.tt > >This reverts commit 2b0693dbfd6aa2dd2c7c91428b23aba717ccc0af as it's no >longer required once we globalise the logic as we do in this patchset >--- > .../intranet-tmpl/prog/en/modules/suggestion/suggestion.tt | 6 +----- > 1 file changed, 1 insertion(+), 5 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt >index 47b9382274..bb1efb003e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt >@@ -1368,16 +1368,12 @@ > } > > table_settings = [% TablesSettings.GetTableSettings( 'acqui', 'suggestions', 'suggestions', 'json' ) | $raw %] >- var saved_table = localStorage.getItem("DataTables_suggestions_/cgi-bin/koha/suggestion/suggestion.pl"); >- var updated_settings = get_columns_saved_state(saved_table, table_settings); >- > [% FOREACH suggestion IN suggestions %] > [% IF suggestion.suggestions.size %] > KohaTable("table_[% loop.count| html %]", { > "sorting": [[ 3, "asc" ]], > "autoWidth": false, >- "stateSave": true, >- }, updated_settings ); >+ }, table_settings ); > [% END %] > [% END %] > >-- >2.40.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 33484
:
149444
|
149445
|
149447
|
149448
|
149449
|
149925
|
149926
|
149927
|
149928
|
149929
|
149930
|
149974
|
149975
| 149976 |
149977
|
149978
|
149979