[Koha-bugs] [Bug 20260] Use CodeMirror for the SQL reports editor

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 8 19:57:02 CEST 2018


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

--- Comment #3 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 75180
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=75180&action=edit
Bug 20260: Use CodeMirror for the SQL reports editor

This patch adds CodeMirror syntax highlighting to the SQL reports
editor. Newly added is a file containing the sql-specific syntax
highlighting code, in both compressed and uncompressed versions.

Unrelated change: Some JavaScript has been moved from inside the body of
the page to the footer.

To test, apply the patch and go to Reports -> Saved SQL reports

- Edit an existing report and confirm that the SQL is correctly
  highlighted and that there are no display problems when editing.
- Confirm that changes are saved successfully.
- Perform the same test when creating a new SQL report.
- View an existing report and confirm that the SQL is syntax-highlighted
  but is read-only.

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


More information about the Koha-bugs mailing list