Bug 8811 - can't run report after saving
authorOwen Leonard <oleonard@myacpl.org>
Mon, 24 Sep 2012 14:47:27 +0000 (10:47 -0400)
committerPaul Poulain <paul.poulain@biblibre.com>
Fri, 5 Oct 2012 15:25:18 +0000 (17:25 +0200)
commit1749d1da566dc7de74ec160cccb191cc94f18283
tree80a8d0c57f589ef71ed66603042779564fa66ab5
parent510a7d73473cc035d8a25ea001179e457d94348a
Bug 8811 - can't run report after saving

The fix for Bug 7993 removed some lines from guided_reports.pl
which passed a new report's name and id to the template after
saving. For some reason this was removed, making it impossible
to run or edit a new report immediately after saving.

This patch adds back that part of the script which passes those
variables to the template. Before this patch, after adding a new
SQL report you would not see a "run this report" link. The
"run this report" and "edit" buttons in the toolbar would not
work. After applying the patch these should work.

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Tested creating reports and was able to run them after saving.

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
reports/guided_reports.pl