[Koha-bugs] [Bug 33039] Add ability to specify a template for serial subscription "Published on (text)" field
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Feb 22 17:40:17 CET 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33039
Kyle M Hall <kyle at bywatersolutions.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #147167|0 |1
is obsolete| |
Attachment #147168|0 |1
is obsolete| |
--- Comment #3 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 147173
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=147173&action=edit
Bug 33039: Add ability to specify a template for serial subscription "Published
on (text)" field
Some libraries would like to have the text version of the serials
"published on" field auto-generated from a template. This template
should be definable at the subscription level.
Test Plan:
1) Apply this patch
2) Run updatedatabase.pl
3) Restart all the things!
4) Create or edit a new subscription
5) Edit the "Publication date template", create a template toolkit
template.
Keys available are the Koha::Subscription object as 'subscription'
and the following serial table columns as keys:
serialseq
serialseq_x
serialseq_y
serialseq_z
subscriptionid
biblionumber
status
planneddate
publisheddate
publisheddateext
notes
routingnotes
So your example template could be "[% subscription.subscriptionid %] [%
biblionumber %]"
6) Generate the next serial
7) Note the next issue has a "Date published (text)" field based on the
template you set!
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list