[Bug 29698] New: items are not available for TT syntax for PREDUEDGST
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29698 Bug ID: 29698 Summary: items are not available for TT syntax for PREDUEDGST Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Tools Assignee: koha-bugs@lists.koha-community.org Reporter: jonathan.druart+koha@gmail.com QA Contact: testopia@bugs.koha-community.org -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29698 --- Comment #1 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Created attachment 128547 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=128547&action=edit Bug 29698: Make items available for PREDUEDGST With this patch you can access items using: Number of items [% items.count %] [% FOR i IN items %] [% SET checkout = i.checkout %] Item [% i.itemnumber %] is due on [% checkout.date_due | $KohaDates %] [% END %] -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29698 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff --- Comment #2 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- It should work for DUEDGST as well but I haven't tested. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29698 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |jonathan.druart+koha@gmail. |ity.org |com CC| |katrin.fischer@bsz-bw.de -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29698 Sally <sally.healey@cheshiresharedservices.gov.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sally.healey@cheshireshared | |services.gov.uk -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29698 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |30259 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30259 [Bug 30259] [Omnibus] Standardize how lists of items are created in notices -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29698 Lucas Gass <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29698 Lucas Gass <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #128547|0 |1 is obsolete| | --- Comment #3 from Lucas Gass <lucas@bywatersolutions.com> --- Created attachment 131644 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=131644&action=edit Bug 29698: Make items available for PREDUEDGST With this patch you can access items using: Number of items [% items.count %] [% FOR i IN items %] [% SET checkout = i.checkout %] Item [% i.itemnumber %] is due on [% checkout.date_due | $KohaDates %] [% END %] Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29698 Lucas Gass <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lucas@bywatersolutions.com --- Comment #4 from Lucas Gass <lucas@bywatersolutions.com> --- To test: 1. Add the following to PREDUEDGST and DUEDST: Number of items [% items.count %] [% FOR i IN items %] [% SET checkout = i.checkout %] Item [% i.itemnumber %] is due on [% checkout.date_due | $KohaDates %] [% END %] 2. Find a patron and set there messaging prefs 'Item due' and 'Advanced notices' so they get an email and 'digest only'. On 'Advanced notices' set Days in advance to 1. 3. Check some things out to a patron and make them due tomorrow. 4. perl /kohadevbox/koha/misc/cronjobs/advance_notices.pl -v -c 5. Check the patrons notices and make sure the PREDUEDGST looks right. 6. Check some things out to a patron and make them due today. 7. Repeat 4. 8. Check the patrons notices and make sure the DUEDGST looks right. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29698 Victor Grousset/tuxayo <victor@tuxayo.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #131644|0 |1 is obsolete| | --- Comment #5 from Victor Grousset/tuxayo <victor@tuxayo.net> --- Created attachment 133556 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=133556&action=edit Bug 29698: Make items available for PREDUEDGST With this patch you can access items using: Number of items [% items.count %] [% FOR i IN items %] [% SET checkout = i.checkout %] Item [% i.itemnumber %] is due on [% checkout.date_due | $KohaDates %] [% END %] == test plan == 1. Add the following to PREDUEDGST and DUEDST: Number of items [% items.count %] [% FOR i IN items %] [% SET checkout = i.checkout %] Item [% i.itemnumber %] is due on [% checkout.date_due | $KohaDates %] [% END %] 2. Find a patron and set there messaging prefs 'Item due' and 'Advanced notices' so they get an email and 'digest only'. On 'Advanced notices' set Days in advance to 1. 3. Check some things out to a patron and make them due tomorrow. 4. perl /kohadevbox/koha/misc/cronjobs/advance_notices.pl -v -c 5. Check the patrons notices and make sure the PREDUEDGST looks right. 6. Check some things out to a patron and make them due today. 7. Repeat 4. 8. Check the patrons notices and make sure the DUEDGST looks right. Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29698 Victor Grousset/tuxayo <victor@tuxayo.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |victor@tuxayo.net Status|Signed Off |Passed QA --- Comment #6 from Victor Grousset/tuxayo <victor@tuxayo.net> --- Works, qa script happy, code looks good, passing QA :) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29698 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |martin.renvoize@ptfs-europe | |.com Keywords| |rel_22_05_candidate -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29698 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Patch complexity|--- |Small patch CC| |fridolin.somers@biblibre.co | |m -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29698 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to master Version(s)| |22.05.00 released in| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29698 --- Comment #7 from Fridolin Somers <fridolin.somers@biblibre.com> --- Pushed to master for 22.05, thanks to everybody involved 🦄 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29698 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to master |RESOLVED CC| |kyle@bywatersolutions.com Resolution|--- |FIXED -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29698 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|rel_22_05_candidate | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29698 --- Comment #8 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- *** Bug 34410 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29698 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=19192 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29698 Cheryl <clackman@fargolibrary.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |clackman@fargolibrary.org -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29698 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |42560 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42560 [Bug 42560] Add support for [% items.content %] -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org