Bugzilla – Attachment 176592 Details for
Bug 38705
Add "Publication date (text)" column to table of subscriptions in the OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38705: Add serial.publisheddatetext column to OPAC subscriptionst
Bug-38705-Add-serialpublisheddatetext-column-to-OP.patch (text/plain), 3.57 KB, created by
Jonathan Druart
on 2025-01-16 09:00:52 UTC
(
hide
)
Description:
Bug 38705: Add serial.publisheddatetext column to OPAC subscriptionst
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2025-01-16 09:00:52 UTC
Size:
3.57 KB
patch
obsolete
>From fbc07c3286ec7175ee3fb251c0bf2646911dfdc7 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Fri, 13 Dec 2024 20:20:04 +0000 >Subject: [PATCH] Bug 38705: Add serial.publisheddatetext column to OPAC > subscriptionst > >1. Have or create an item with a serial subscription on it. >2. When receiving make sure you add some publisheddatetext ( > Publication date text ) >3. Have a look at the record in the OPAC. >4. In the subscrptions tab there is no 'Publication date text' column. >5. APPLY PATCH and restart_all. >6. Still no 'Publication date text' column is visible. >7. Go to Administration > Table settings >8. Expose the column >9. Reload the OPAC page, you should see the new column. > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > admin/columns_settings.yml | 3 +++ > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt | 2 ++ > 2 files changed, 5 insertions(+) > >diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml >index cf3beff5585..962c25c2f46 100644 >--- a/admin/columns_settings.yml >+++ b/admin/columns_settings.yml >@@ -2202,6 +2202,9 @@ modules: > columnname: serial_serialseq > - > columnname: serial_publisheddate >+ - >+ columnname: serial_publisheddatetext >+ is_hidden: 1 > - > columnname: serial_planneddate > - >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >index 38ce3032663..b77a00417cd 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >@@ -755,6 +755,7 @@ > <tr> > <th id="serial_serialseq" data-colname="serial_serialseq">Issue #</th> > <th id="serial_publisheddate" data-colname="serial_publisheddate">Publication date</th> >+ <th id="serial_publisheddatetext" data-colname="serial_publisheddatetext">Publication date (text)</th> > <th id="serial_planneddate" data-colname="serial_planneddate">Received date</th> > <th id="serial_status" data-colname="serial_status">Status</th> > <th id="serial_notes" data-colname="serial_notes">Note</th> >@@ -766,6 +767,7 @@ > <tr> > <td class="serialseq">[% latestserial.serialseq | html %]</td> > <td class="publisheddate" data-order="[% latestserial.publisheddate | html %]">[% latestserial.publisheddate | $KohaDates %]</td> >+ <td class="publisheddatetext" data-order="[% latestserial.publisheddatetext | html %]">[% latestserial.publisheddatetext | html %]</td> > <td class="planneddate" data-order="[% latestserial.planneddate | html %]">[% latestserial.planneddate | $KohaDates %]</td> > <td class="serial_status"> > [% INCLUDE 'serial-status.inc' serial = latestserial %] >-- >2.34.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 38705
:
175470
|
175496
| 176592