]> git.koha-community.org Git - koha.git/commit
Bug 22856: Show SQL code button should trigger CodeMirror view
authorOwen Leonard <oleonard@myacpl.org>
Mon, 6 May 2019 13:07:17 +0000 (13:07 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 10 May 2019 18:58:49 +0000 (18:58 +0000)
commitca605455c24c032a389cbe0d3388f90620501c3b
treef196003729a712de1d342b9e65d7703243114dc4
parent917a506ffc983f63d9541c862180916bb2adc0a0
Bug 22856: Show SQL code button should trigger CodeMirror view

This patch adds CodeMirror syntax highlighting to the SQL view which can
be shown on the report results page by clicking the "Show SQL code"
button.

To test, apply the patch and run any SQL report. On the report results
page, click the "Show SQL button." The SQL should be displayed with
CodeMirror syntax highlighting. Test toggling the SQL code view on and
off to confirm that the CodeMirror highlighting continues to work
correctly.

Signed-off-by: Barton Chittenden <barton@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/css/reports.css
koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt