Koha/koha-tmpl/intranet-tmpl/prog/en/modules/reports
Jonathan Druart f22d2e7200 Bug 17898: Automagically convert SQL reports
Bug 17196 move the marcxml out of the biblioitems table.
That will break SQL reports using it.
It would be handy to propose an automagically way to convert the SQL
reports.

We do not want to update the reports automatically without user inputs,
it will be too hasardous.
However we can lead the user to convert them.

In this patchset I suggest to warn the user if a report is subject to be
updated.

TODO: Add a way to mark this job done (using a pref?) to remove the
check and not to display false positives.

Test plan:
- Create some SQL reports (see https://wiki.koha-community.org/wiki/SQL_Reports_Library)
- Go on the report list page (/reports/guided_reports.pl?phase=Use saved)
- For the reports using biblioitems.marcxml you will see a new column
warning you that it is obsolete
- Click on update link
=> that will open a modal with the converted SQL query
- Click on the update button
=> you will be informed that the query has been updated

If all the reports are updated, the new column "Update" will no longer
be displayed.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2017-05-19 18:48:26 +00:00
..
csv Bug 6934: Make CSV header column translatable and add total amounts in csv file 2016-10-28 11:50:26 +00:00
acquisitions_stats.tt Bug 15413: Adding colons where appropriate 2016-03-25 21:50:56 +00:00
bor_issues_top.tt Bug 17835: Replace GetItemTypes with Koha::ItemTypes 2017-04-14 10:43:51 -04:00
borrowers_out.tt Bug 15407: Koha::Patron::Categories - replace GetborCatFromCatType 2016-09-08 13:29:22 +00:00
borrowers_stats.tt Bug 15758: Koha::Libraries - Remove GetBranches 2016-09-08 14:36:03 +00:00
cash_register_stats.tt Bug 17635: Fix templates with missing body id 2016-11-15 18:16:30 +00:00
cat_issues_top.tt Bug 17835: Replace GetItemTypes with Koha::ItemTypes 2017-04-14 10:43:51 -04:00
catalogue_out.tt Bug 17835: Replace GetItemTypes with Koha::ItemTypes 2017-04-14 10:43:51 -04:00
catalogue_stats.tt Bug 15758: Koha::Libraries - Remove GetBranchesLoop 2016-09-08 14:36:02 +00:00
convert_report.tt Bug 17898: Automagically convert SQL reports 2017-05-19 18:48:26 +00:00
dictionary.tt Bug 16239: Update templates 2017-01-13 14:41:22 +00:00
guided_reports_start.tt Bug 17898: Automagically convert SQL reports 2017-05-19 18:48:26 +00:00
issues_avg_stats.tt Bug 15758: Koha::Libraries - Remove GetBranchesLoop 2016-09-08 14:36:02 +00:00
issues_by_borrower_category.tt Bug 15758: Koha::Libraries - Remove GetBranchesLoop 2016-09-08 14:36:02 +00:00
issues_stats.tt Bug 17835: Replace GetItemTypes with Koha::ItemTypes 2017-04-14 10:43:51 -04:00
itemslost.tt Bug 17835: Replace GetItemTypes with Koha::ItemTypes 2017-04-14 10:43:51 -04:00
itemtypes.tt Bug 15758: Koha::Libraries - Remove GetBranchesLoop 2016-09-08 14:36:02 +00:00
orders_by_budget.tt Bug 16594: Orders by fund report has wrong link to css and other issues 2016-06-17 14:53:45 +00:00
reports-home.tt Bug 6934: fix errors pointed out by the QA script 2016-10-28 11:50:26 +00:00
reserves_stats.tt Bug 17835: Add an additional LEFT JOIN condition using DBIx::Class 2017-04-14 10:43:52 -04:00
serials_stats.tt Bug 15758: Koha::Libraries - Remove GetBranchesLoop 2016-09-08 14:36:02 +00:00
stats_screen.tt