https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43736

--- Comment #7 from Andrew Fuerste-Henry <[email protected]> ---
Created attachment 207402
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=207402&action=edit
Bug 43736: Restore existing report template selection

Bug 38621 changed report templates to be based off of the code. This
meant we lost the functionality of choosing between the email and print
versions of each template. This restores the previous behaviour, where
all report templates were displayed and keyed by ID.

Test plan:
1.  Under Tools > Notices and Slips, create a new notice in the Reports
    module. Choose a code and a name, and add distinct subjects and
    contents for both Email and Print. For example, "Email: [% today %]"
    and "Print: [% today %]".
2.  Under Reports, create a new report from SQL with a name and the
    following query:

      SELECT 1;

3.  Open the "Run with template" dropdown for the report, and verify you
    see the name of your created notice twice.
4.  Run each of the two versions of your notice, and verify they both
    run the Email version.
5.  Apply patch and refresh.
6.  Verify there are still two versions of your notice in the dropdown.
7.  Verify that one version of the notice runs the Email template, and
    the other the Print template.
8.  Verify that using the Download dropdown and selecting "Rendered
    template" for each version of the notice produces a downloaded file
    with the correct rendered contents.

Sponsored-by: Open Fifth

Signed-off-by: Barbara Johnson <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to