Koha-clms/koha-tmpl
Jan Kissig bfdb2cb4b0
Bug 40141: Add "Run" and "Test" buttons to data provider toolbar
This patch adds the SUSHI test and run options to the toolbar of the data providers detail page.
If a provider is not active the buttons are disabled.

Testplan:
- go to /cgi-bin/koha/erm/eusage/usage_data_providers
- add a dummy provider
- notice the toolbar on the data provider detail page: Only Edit and Delete are available
- apply the patch
- run 'yarn js:build'
- I needed to call 'restart_all'
- refresh the providers detail page and notice the two new buttons: Test and run now
- click on 'test' and wait for the result
- click on 'Run now' and enter some appropriate dates.
- Click 'yes run' to see the jobs queued
- (Please do not dismiss the 'run now' dialog by clicking outside, as this triggers bug 41001)

Signed-off-by: Clemens Tubach <clemens.tubach@kit.edu>
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2025-10-16 15:20:19 -06:00
..
intranet-tmpl Bug 40141: Add "Run" and "Test" buttons to data provider toolbar 2025-10-16 15:20:19 -06:00
opac-tmpl Bug 40070: Control display of serial pubdate on detail pages 2025-10-15 16:12:05 -06:00