Bug 32613: Add database tables to autocomplete
authorJacob O'Mara <jacob.omara@ptfs-europe.com>
Wed, 1 Mar 2023 11:02:34 +0000 (11:02 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 6 Mar 2023 17:45:29 +0000 (14:45 -0300)
commit8925a0b7b64daa9dcbe41ba7837e725c091a861b
tree49c7d3867fa2ee17c50771106920894df32bfadf
parenta3b2f42cc7d0d23b2ae9bfdd4825920ae88bf96c
Bug 32613: Add database tables to autocomplete

This patch adds a database call to get the table and column names in the
database and parse them into the autocomplete engine.

Test Plan:
As previous commit but also check for column/table names in the
autocomplete popup

Signed-off-by: Andrew Fuerste-Henry <andrewfh@dubcolib.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/lib/codemirror/sql.js
koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt
reports/guided_reports.pl