Bug 38705 - Add "Publication date (text)" column to table of subscriptions in the OPAC
Summary: Add "Publication date (text)" column to table of subscriptions in the OPAC
Status: Pushed to main
Alias: None
Product: Koha
Classification: Unclassified
Component: OPAC (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Lucas Gass (lukeg)
QA Contact: Jonathan Druart
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-13 20:19 UTC by Lucas Gass (lukeg)
Modified: 2025-01-16 16:42 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: Trivial patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
This enhancement adds a new column to the subscription table in the OPAC which displays the information in the serial.publisheddatetext column.
Version(s) released in:
25.05.00
Circulation function:


Attachments
Bug 38705: Add serial.publisheddatetext column to OPAC subscriptionst (3.45 KB, patch)
2024-12-13 20:23 UTC, Lucas Gass (lukeg)
Details | Diff | Splinter Review
Bug 38705: Add serial.publisheddatetext column to OPAC subscriptionst (3.50 KB, patch)
2024-12-16 13:09 UTC, Owen Leonard
Details | Diff | Splinter Review
Bug 38705: Add serial.publisheddatetext column to OPAC subscriptionst (3.57 KB, patch)
2025-01-16 09:00 UTC, Jonathan Druart
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Lucas Gass (lukeg) 2024-12-13 20:19:19 UTC
Some libraries need to show the publisheddatetext column in the OPAC. The table is column configurable so we should add it, hidden by default.
Comment 1 Lucas Gass (lukeg) 2024-12-13 20:23:54 UTC
Created attachment 175470 [details] [review]
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.
Comment 2 Lucas Gass (lukeg) 2024-12-13 20:44:45 UTC
Note: The publisheddatetext column does show up in the subscription’s “full history” table on the OPAC side, but I’m hoping to have a little more customization of the initial table so that people don’t have to go digging for it.
Comment 3 Owen Leonard 2024-12-16 13:09:56 UTC
Created attachment 175496 [details] [review]
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>
Comment 4 Jonathan Druart 2025-01-16 08:55:55 UTC
Not blocker as it's not introduced by this patch, but this looks like an inconsistency:

opac-detail
Publication date
Publication date (text)

subscription-detail.tt
Published date
Published date (text)
Comment 5 Jonathan Druart 2025-01-16 09:00:52 UTC
Created attachment 176592 [details] [review]
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>
Comment 6 Katrin Fischer 2025-01-16 16:42:12 UTC
Pushed for 25.05!

Well done everyone, thank you!