-
-
Notifications
You must be signed in to change notification settings - Fork 825
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dev/core#1366 Bypass nonfunctioning case audit interactive screen and go straight to report #15998
dev/core#1366 Bypass nonfunctioning case audit interactive screen and go straight to report #15998
Conversation
(Standard links)
|
@alifrumin @jitendrapurohit is this something one of you can test? |
jenkins retest this please |
I can test this. I was able to recreate the workflow that is being reworked on local build (based on the explanation) and am rerunning jenkins I will test on the jenkins build when its finished. |
jenkins retest this please |
I was able to test this on jenkins and it works as expected, you never see the "Case Activity Audit" screen. @eileenmcnaughton I believe this is ready to be merged.
|
Thanks @alifrumin. Good point about the docs - I don't think I've ever looked at that section. I can do a PR. |
Thanks @alifrumin ! |
Added docs PR civicrm/civicrm-user-guide#428 |
Overview
This is a followup to https://lab.civicrm.org/dev/core/issues/1366 and #15882. The first part was to make the case audit report do what it originally did which is use the selected timeline when outputting the report. This second part bypasses the nonfunctioning interactive onscreen page you get which hasn't been functioning since 2015 when the associated javascript file was deleted. So the PR makes it go straight to the associated print report (currently the button on the onscreen interactive page).
The third part would be to eventually remove any code only used for the onscreen interactive page.
Before
Choosing to run the audit report would take you to a screen that hasn't worked in years. Also even though the print button on that screen is back to mostly working it still isn't including all the right activities all the time.
After
Bypass nonfunctioning screen, go straight to report. Report includes all the right activities.
Technical Details
For the change in line 134 in CRM/Case/XMLProcessor/Report.php, it's less than it seems, because:
Note also that if it's not obvious the CRM/Case/Form/Report.php file represents the popup options screen you get when you run the case audit report where you choose whether to redact etc, so all the lines being changed in this PR only touch the case audit report and nothing else.
Comments
@adam-devapp do you have some time to try this out?