@@ -, +, @@
quotes are used
- Go to Home > Reports > Guided reports wizard
- Create a report with double quotes in it's name, e.g. 'My "double quoted" report'
- Go to "Saved reports", locate in the list the new report (name is correct here,
is correct in database as well)
- From the selection button at the right choose "Edit"
- Result: Content of edit field for the report name is truncated (displays only: 'My')
- Go to Home > Reports > Guided reports wizard
- Create a new definition, give it the name 'The "double quoted" definition' and enter
a text with double quotes for "Description"
- Save
- Verify that in the list of definitions both name and descriptions are truncated
(in database as well)
- Apply patch
- Verify that issues described above can no longer be reproduced
---
.../prog/en/modules/reports/dictionary.tt | 74 +++++++++++-----------
.../en/modules/reports/guided_reports_start.tt | 4 +-
2 files changed, 39 insertions(+), 39 deletions(-)
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt
@@ -80,27 +80,27 @@
Name | -Description | -Area | -Definition | +|
---|---|---|---|---|
Name | +Description | +Area | +Definition | Action | -
[% definition.name %] | -[% definition.description %] | -[% definition.areaname %] | -[% definition.saved_sql %] | -- |