-
-
Notifications
You must be signed in to change notification settings - Fork 824
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
CRM-21718: Don't choose 'print_contacts' as default task if it is not there #11596
Conversation
Ok, just ping me when I should look at this again. |
@johanv - can you test again against master - hopefully you can close this out now |
Thank you @eileenmcnaughton and @mattwire for your work. Sorry that it took me so long to look at this again, but since I changed jobs I don't have a lot of time for CiviCRM. So, I created an extension, and I implemented
In CiviCRM 4.7.29 with the patch in this pull request, this would remove the item 'Print selected rows' from the search tasks.
Unfortunately, I don't have time to look further into this tonight. Maybe another time. |
Overview
If you remove 'print contacts' from the search tasks by implementing hook_civicrm_searchTasks, every search form stops working.
Before
If you remove 'print contacts' from the search tasks by implementing hook_civicrm_searchTasks, every search form stops working.
After
Now it works.
Technical Details
It seems that in some part of the code for some reason the 'print contacts' is selected as default action, which causes troubles if it is not there.