Bug 35879 - Publication Templates within Serials does not work as documented
Summary: Publication Templates within Serials does not work as documented
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Serials (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-23 19:05 UTC by Kelly McElligott
Modified: 2024-01-23 19:05 UTC (History)
0 users

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kelly McElligott 2024-01-23 19:05:40 UTC
The bug 33039 :Add ability to specify a template for serial subscription "Published on (text)" field explains that template toolkit can be used for including fields from the subscription within this text box.  Unfortunately, as the bug is lined out, the 

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

The object, 'subscription' does not work in this template.  If a library wanted to include the planned date, they would use [% planneddate %] and not use [% subscription.planneddate %]. 

I also would like to point out bug 35867-  https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35867