CRM-16587 - workaround selected records custom search.
authorJohan Vervloet <johanv@johanv.org>
Tue, 15 Dec 2015 14:05:36 +0000 (15:05 +0100)
committerJohan Vervloet <johanv@johanv.org>
Tue, 15 Dec 2015 14:05:36 +0000 (15:05 +0100)
commit37990ecd7971b72d94f72d136f1fd69d86c765e9
tree648e86e0f203f3cc03a7831e1e107b6beea5eca0
parent31d0fc1dfed797f8838d4cdfa433d6ae6766bf87
CRM-16587 - workaround selected records custom search.

This is a workaround, and it will probably not work 100% in these cases:
* if you need to select columns with identical names from different tables
* if you need expressions in your SELECT statement, instead of just selecting
  a column.

You also have to adapt your custom searches for this to work. I changed
the PostalMailing custom search so that you now can apply actions on a
selection of the retuned records.

----------------------------------------
* CRM-16587: Action menu is not available on selected records on a Custom search
  https://issues.civicrm.org/jira/browse/CRM-16587
CRM/Contact/Form/Search/Custom/PostalMailing.php
CRM/Contact/Selector/Custom.php
CRM/Export/BAO/Export.php