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

--- Comment #2 from Olivia Reynolds <[email protected]> ---
Created attachment 207384
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=207384&action=edit
Bug 43739: Disambiguate report templates by transport type

As the report template dropdown offers each message transport type for a
give notice, this can lead to duplicate entries with no way to tell them
apart. This patch disambiguates each entry by appending the transport
type.

Test plan:
1.  Ensure Bug 43736 is already applied.
2.  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 %]".
3.  Under Reports, create a new report from SQL with a name and the
    following query:

      SELECT 1;

4.  Open the "Run with template" dropdown for the report, and verify you
    see the name of your created notice twice, with no way to
    distinguish them.
5.  Apply patch and refresh.
6.  Open the "Run with template" dropdown for the report, and verify you
    see the name of your created notice twice, each also including their
    transport type.
7.  Verify that running each template version produces the correct
    corresponding output for its transport type.

Sponsored-by: Open Fifth

-- 
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