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

            Bug ID: 43739
           Summary: Each notice template should only be shown once in
                    reports Run With Template dropdown
   Initiative type: ---
        Sponsorship ---
            status:
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Reports
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]
        Depends on: 34136
  Target Milestone: ---

When a notice template in the Reports module has content in more than one
format, the template name is listed multiple times in the "Run with template"
dropdown when running a report.

To recreate:
- Create a new notice template:
 -- module: Reports
 -- name: Test
- Add a message subject and some content in the Email format
- Add a message subject and some content in the Print format
(the actual content is irrelevant, it could just be "email" and "print")
- Create a report (again, content doesn't matter, can be "SELECT 'boop'")
- Click "Run with template"
- See the dropdown shows "Test" twice
- See both entries link to
"/cgi-bin/koha/reports/guided_reports.pl?id=1&op=run&template_code=Test"
- Confirm both options have the same result when clicked


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34136
[Bug 34136] Add ability to render a report using a notice template
-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
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