Bugzilla – Attachment 174014 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: (QA follow-up) Fix column "renew" cannot be toggled
Bug-30221-QA-follow-up-Fix-column-renew-cannot-be-.patch (text/plain), 3.81 KB, created by
Arthur Suzuki
on 2024-11-05 18:09:41 UTC
(
hide
)
Description:
Bug 30221: (QA follow-up) Fix column "renew" cannot be toggled
Filename:
MIME Type:
Creator:
Arthur Suzuki
Created:
2024-11-05 18:09:41 UTC
Size:
3.81 KB
patch
obsolete
>From 0d675cd3b3217fde0b0491e0d82732690c16feb6 Mon Sep 17 00:00:00 2001 >From: Arthur Suzuki <arthur.suzuki@biblibre.com> >Date: Tue, 5 Nov 2024 09:55:06 +0100 >Subject: [PATCH] Bug 30221: (QA follow-up) Fix column "renew" cannot be > toggled > >--- > admin/columns_settings.yml | 6 ++++++ > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt | 5 ++++- > 2 files changed, 10 insertions(+), 1 deletion(-) > >diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml >index 8907d1b4d3..af931ffef3 100644 >--- a/admin/columns_settings.yml >+++ b/admin/columns_settings.yml >@@ -2202,6 +2202,8 @@ modules: > columnname: callnumber > - > columnname: renew >+ cannot_be_toggled: 1 >+ cannot_be_modified: 1 > - > columnname: fines > - >@@ -2236,8 +2238,12 @@ modules: > columnname: callnumber > - > columnname: duedate >+ - >+ columnname: checkout_branch > - > columnname: renew >+ cannot_be_toggled: 1 >+ cannot_be_modified: 1 > - > columnname: fines > opac_user_relative_issues_table: >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >index 07994c5dc8..4f73901f67 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >@@ -336,7 +336,8 @@ > <th id="title" data-colname="title" class="all anti-the">Title</th> > <th id="author" data-colname="author">Author</th> > <th id="duedate" data-colname="duedate" class="psort">Due</th> >- <th id="checkout_branch" data-colname="checkout_branch">Checkout branch</th> [% IF ( Koha.Preference('BiblioItemtypeInfo') || !item_level_itypes ) %] >+ <th id="checkout_branch" data-colname="checkout_branch">Checkout branch</th> >+ [% IF ( Koha.Preference('BiblioItemtypeInfo') || !item_level_itypes ) %] > > <th data-colname="itemtype">Item type</th> > [% END %] >@@ -728,6 +729,7 @@ > [% IF ( show_barcode ) %]<th data-colname="barcode">Barcode</th>[% END %] > <th data-colname="callnumber">Call number</th> > <th data-colname="duedate" class="psort">Due</th> >+ <th data-colname="checkout_branch">Checkout branch</th> > [% IF ( OpacRenewalAllowed ) %] > <th data-colname="renew" class="nosort">Renew</th> > [% END %] >@@ -799,6 +801,7 @@ > <span class="tdlabel">Date due:</span> > [% OVERDUE.date_due | $KohaDates as_due_date => 1 %] > </td> >+ <td class="checkout_branch" data-order="[% OVERDUE.branchname | html %]">[% OVERDUE.branchname | html %]</td> > [% IF ( OpacRenewalAllowed ) %] > <td> > [% IF ( OVERDUE.debarred ) %] >-- >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