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>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Lucas Gass 2024-12-13 20:20:04 +00:00 committed by Katrin Fischer
parent 93e8f82c81
commit 1ae30dedf6
Signed by: kfischer
GPG key ID: 0EF6E2C03357A834
2 changed files with 5 additions and 0 deletions

View file

@ -2202,6 +2202,9 @@ modules:
columnname: serial_serialseq
-
columnname: serial_publisheddate
-
columnname: serial_publisheddatetext
is_hidden: 1
-
columnname: serial_planneddate
-

View file

@ -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 %]