]> git.koha-community.org Git - koha.git/commit
Bug 17535: Fix search for reports by keywords
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 2 Nov 2016 09:36:53 +0000 (09:36 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Mon, 7 Nov 2016 16:38:25 +0000 (16:38 +0000)
commit3f8a4cd2a12668af4f3ff1d22b4beac06f17df57
tree3145c4e59f5cbdd5946d59798fd1849e0af371c7
parent8eec57d605b379694927ef344f9a8c302a7b05d7
Bug 17535: Fix search for reports by keywords

The commit cf9031711282f4be23e4a639797d0fd178940e1f
    Bug 14435: Add the ability to store result's report
introduced a regression when searching for reports by keywords.
It also breaks tests in t/db_dependent/Reports/Guided.t

It's caused by the missing join on saved_reports.
The error says DBD::mysql::db selectall_arrayref failed: Unknown column
'report' in 'where clause'

Test plan:
Confirm that the tests are fixed and that you are able to search for
reports using the "keyword" input

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
C4/Reports/Guided.pm