Bugzilla – Attachment 132387 Details for
Bug 30063
Make the main patron search use the /patrons REST API route
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30063: Fix table settings
Bug-30063-Fix-table-settings.patch (text/plain), 1.87 KB, created by
Jonathan Druart
on 2022-03-29 08:29:00 UTC
(
hide
)
Description:
Bug 30063: Fix table settings
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2022-03-29 08:29:00 UTC
Size:
1.87 KB
patch
obsolete
>From d2da2cfbff685060a4d14db36eacf57ddd392e63 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 29 Mar 2022 10:28:43 +0200 >Subject: [PATCH] Bug 30063: Fix table settings > >--- > .../prog/en/modules/members/member.tt | 15 +++++++++------ > 1 file changed, 9 insertions(+), 6 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt >index e57e6334f51..eded5ad1efd 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt >@@ -245,12 +245,6 @@ > $("#patron_search_form").on('submit', function(){$("#searchheader").show();}); > $("#clear_search").on("click",function(e){$("#searchheader").hide();}); > >- // Apply DataTables on the results table >- var table_settings = [% TablesSettings.GetColumns( 'members', 'member', 'memberresultst', 'json' ) | $raw %]; >- [% UNLESS CAN_user_borrowers_edit_borrowers OR CAN_user_tools_manage_patron_lists %] >- [%# Remove the first column if we do not display the checkbox %] >- table_settings.splice(0, 1); >- [% END %] > }); > > function patronListAdd(){ >@@ -295,6 +289,15 @@ > > </script> > >+ <script> >+ // Apply DataTables on the results table >+ var table_settings = [% TablesSettings.GetColumns( 'members', 'member', 'memberresultst', 'json' ) | $raw %]; >+ [% UNLESS CAN_user_borrowers_edit_borrowers OR CAN_user_tools_manage_patron_lists %] >+ [%# Remove the first column if we do not display the checkbox %] >+ table_settings.splice(0, 1); >+ [% END %] >+ </script> >+ > [% IF circsearch == 1 %] > [% SET redirect_url = '/cgi-bin/koha/circ/circulation.pl' %] > [% ELSE %] >-- >2.25.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 30063
:
130608
|
130609
|
130610
|
130611
|
130612
|
130613
|
130614
|
130615
|
132387
|
132552
|
132731
|
132732
|
132733
|
132734
|
132735
|
132736
|
132737
|
132738
|
132739
|
132740
|
132741
|
132742
|
132743
|
132744
|
132745
|
132746
|
132747
|
132748
|
132749
|
132759
|
132760
|
132761
|
132762
|
132763
|
132764
|
132765
|
132766
|
132767
|
132768
|
132769
|
132770
|
132771
|
132772
|
132773
|
132774
|
132775
|
132776
|
132777
|
132958