Koha-clms/svc
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
..
cataloguing
…
club Bug 12461 - Add patron clubs feature 2017-04-28 08:37:44 -04:00
config
…
hold
…
members
…
records
…
virtualshelves
…
article_request
…
authentication
…
barcode
…
bib
…
bib_profile Bug 17835: Replace GetItemTypes with Koha::ItemTypes 2017-04-14 10:43:51 -04:00
checkin Bug 14224: Remove SQL query in svc script 2017-04-28 09:03:22 -04:00
checkouts
…
convert_report Bug 17898: Automagically convert SQL reports 2017-05-19 18:48:26 +00:00
cover_images
…
holds Bug 12063 - Remove Koha::Hold::waiting_expires_on since dateexpiration is set on database 2017-05-09 08:59:39 -04:00
import_bib
…
letters
…
localization
…
new_bib
…
renew
…
report
…