[Koha-bugs] [Bug 27643] Add CodeMirror custom syntax highlighting for SQL runtime parameters

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 5 19:51:43 CET 2021


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

--- Comment #1 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 116432
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=116432&action=edit
Bug 27643: Add CodeMirror custom syntax highlighting for SQL runtime parameters

This patch adds some additional configuration to CodeMirror so that
runtime parameters have a distinct color in the CodeMirror SQL editor.

To test, apply the patch and create or edit an SQL report which contains
one or more runtime parameters, e.g. <<branches>>, <<categorycode>>,
etc.

Confirm that when editing the SQL, these parameters should appear as
green text. Save your report and view it. The syntax highlighting should
be updated in this view too.

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


More information about the Koha-bugs mailing list