Bugzilla – Attachment 192156 Details for
Bug 30221
Make the tables on opac-user.tt column configurable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30221: made opac-readingrecord.pl table configurable
Bug-30221-made-opac-readingrecordpl-table-configur.patch (text/plain), 3.84 KB, created by
Arthur Suzuki
on 2026-01-29 15:48:51 UTC
(
hide
)
Description:
Bug 30221: made opac-readingrecord.pl table configurable
Filename:
MIME Type:
Creator:
Arthur Suzuki
Created:
2026-01-29 15:48:51 UTC
Size:
3.84 KB
patch
obsolete
>From 384bf33bd27218b6a6e4ec10d1a686caa49658e4 Mon Sep 17 00:00:00 2001 >From: Arthur Suzuki <arthur.suzuki@biblibre.com> >Date: Mon, 7 Oct 2024 11:14:51 +0200 >Subject: [PATCH] Bug 30221: made opac-readingrecord.pl table configurable > >Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> >--- > admin/columns_settings.yml | 19 ++++++++++++++++++- > .../en/modules/opac-readingrecord.tt | 19 +++++++++++-------- > 2 files changed, 29 insertions(+), 9 deletions(-) > >diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml >index 05195f419cb..faac1de750c 100644 >--- a/admin/columns_settings.yml >+++ b/admin/columns_settings.yml >@@ -2578,7 +2578,6 @@ modules: > columnname: renew > - > columnname: fines >- > opac_user_relative_issues_table: > columns: > - >@@ -2591,6 +2590,24 @@ modules: > columnname: callnumber > - > columnname: relative >+ readingrec: >+ columns: >+ - >+ columnname: type >+ - >+ columnname: title >+ - >+ columnname: author >+ - >+ columnname: item_type >+ - >+ columnname: callnumber >+ - >+ columnname: vol_info >+ - >+ columnname: date >+ - >+ columnname: links > > serials: > claims: >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt >index 85f083cecbe..992685b23f6 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt >@@ -117,16 +117,16 @@ > <caption class="sr-only">Checkout history</caption> > <thead> > <tr> >- <th style="display:none;" class="no-export">Type</th> >+ <th data-colname="type" style="display:none;" class="no-export">Type</th> > <th class="no-sort no-export"></th> >- <th class="all anti-the">Title</th> >- <th>Author</th> >- <th>Item type</th> >- <th>Call number</th> >- <th>Vol info</th> >- <th>Date</th> >+ <th data-colname="title" class="all anti-the">Title</th> >+ <th data-colname="author">Author</th> >+ <th data-colname="item_type">Item type</th> >+ <th data-colname="callnumber">Call number</th> >+ <th data-colname="vol_info">Vol info</th> >+ <th data-colname="date">Date</th> > [% IF Koha.Preference('OPACMySummaryHTML') %] >- <th class="no-sort no-export">Links</th> >+ <th data-colname="links" class="no-sort no-export">Links</th> > [% END %] > <th class="dtr-control-col"></th> > </tr> >@@ -215,6 +215,7 @@ > <em>(Checked out)</em> > </td> > [% END %] >+ <td> [% checkout.library.branchname | html %] </td> > [% IF Koha.Preference('OPACMySummaryHTML') %] > <td>[% biblio.opac_summary_html | $raw %]</td> > [% END %] >@@ -235,6 +236,7 @@ > $('#sortform').submit(); > }); > >+ var table_settings = [% TablesSettings.GetTableSettings( 'opac', 'patron_details', 'readingrec', 'json') | $raw %]; > var table = $("#readingrec").kohaTable( > { > dom: '<"top"<"table_entries"i><"table_controls"fB>>t', >@@ -250,6 +252,7 @@ > { visible: false, targets: [0] }, > ], > }, >+ table_settings > ); > > let table_dt = table.DataTable(); >-- >2.39.5
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 30221
:
172214
|
172451
|
172452
|
172453
|
172454
|
172455
|
172456
|
172581
|
172610
|
172611
|
172613
|
172615
|
172616
|
172618
|
172620
|
174014
|
174015
|
174016
|
174046
|
174047
|
174048
|
192154
|
192155
| 192156 |
192157
|
192158
|
192159
|
192160
|
193361