[Koha-bugs] [Bug 21392] New: Some tables not available to AUTO_RENEW letter
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Sep 21 14:17:47 CEST 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21392
Bug ID: 21392
Summary: Some tables not available to AUTO_RENEW letter
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Command-line Utilities
Assignee: koha-bugs at lists.koha-community.org
Reporter: magnus at libriotech.no
QA Contact: testopia at bugs.koha-community.org
CC: robin at catalyst.net.nz
The AUTO_RENEW letter is prepared like so, including data from 4 tables:
105 my $letter = C4::Letters::GetPreparedLetter(
106 module => 'circulation',
107 letter_code => 'AUTO_RENEWALS',
108 tables => {
109 borrowers => $patron->borrowernumber,
110 issues => $issue->itemnumber,
111 items => $issue->itemnumber,
112 biblio => $item->biblionumber,
113 },
114 );
http://git.koha-community.org/gitweb/?p=koha.git;a=blob;f=misc/cronjobs/automatic_renewals.pl;h=6a170ca20f5f0aabc81f340b2c70b25dd8d4206a;hb=HEAD#l105
But when you go to Tools > Notices & slips to edit the contents of
AUTO_RENEWALS, several more tables are listed as available. This includes:
- branches
- biblioitems
- opac_news
If you try to include information from these three tables it will be missing
from the final letter.
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list