[Koha-bugs] [Bug 16481] Report menu has unexpected issues

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 10 00:12:38 CEST 2016


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

Aleisha Amohia <aleishaamohia at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #51343|0                           |1
        is obsolete|                            |

--- Comment #4 from Aleisha Amohia <aleishaamohia at hotmail.com> ---
Created attachment 51352
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=51352&action=edit
[SIGNED-OFF] Bug 16481 - Report menu has unexpected issues

This patch corrects a problem with the reports toolbar include file
which can cause a problem with the "duplicate" button. The duplicate
button passes the entire report SQL as a URL parameter, but the template
variable was not escaped as a URL variable.

This patch also adds the "uri" filter to the report name and notes
fields just to be safe.

To reproduce the bug, create a new SQL report using the SQL in the bug
report. When you run the report you should see a broken "Duplicate"
button.

Apply the patch and run the report again. The duplicate button should
look correct and work correctly.

Signed-off-by: Aleisha <aleishaamohia at hotmail.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list