-
-
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
dev/core#183 Convert the generating of temporary tables within the ra… #15876
dev/core#183 Convert the generating of temporary tables within the ra… #15876
Conversation
(Standard links)
|
@seamuslee001 if this isn't currently exposed I don't think we should expose it - the goal is to get these searches out of core not to encourage their use |
xml/templates/civicrm_data.tpl
Outdated
@@ -578,6 +578,7 @@ VALUES | |||
(@option_group_id_csearch , 'CRM_Contact_Form_Search_Custom_ContribSYBNT' ,13, 'CRM_Contact_Form_Search_Custom_ContribSYBNT', NULL, 0, NULL, 13, '{ts escape="sql"}Contributions made in Year X and not Year Y{/ts}', 0, 0, 1, NULL, NULL, NULL), | |||
(@option_group_id_csearch , 'CRM_Contact_Form_Search_Custom_TagContributions' ,14, 'CRM_Contact_Form_Search_Custom_TagContributions', NULL, 0, NULL, 14, '{ts escape="sql"}Find Contribution Amounts by Tag{/ts}', 0, 0, 1, NULL, NULL, NULL), | |||
(@option_group_id_csearch , 'CRM_Contact_Form_Search_Custom_FullText' ,15, 'CRM_Contact_Form_Search_Custom_FullText', NULL, 0, NULL, 15, '{ts escape="sql"}Full-text Search{/ts}', 0, 0, 1, NULL, NULL, NULL), | |||
(@option_group_id_csearch , 'CRM_Contact_Form_Search_Custom_RandomSegment' ,16, 'CRM_Contact_Form_Search_Custom_RandomSegment', NULL, 0, NULL, 16, '{ts escape="sql"}Random Segment Search{/ts}', 0, 0, 1, NULL, NULL, NULL), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't mind changing the search form but let's not do this
22e50a1
to
67ae5d6
Compare
@eileenmcnaughton ok have pulled those changes now |
@seamuslee001 why is the composer change in there |
because the composer.lock file is currently out of sync with composer.json after #15868 ping @colemanw tl/dr even tho its not strickly speaking a composer package the composer hash still needs updating in composer.lock
|
@seamuslee001 ok - it's probably not good to have it in the same PR |
…ndom segment custom search to using standard CRM_Utils_SQL_TemporaryTable method
67ae5d6
to
1cde537
Compare
ok have pulled it out into #15886 @eileenmcnaughton |
As previously discussed this is probably not used at all & could be removed - happy to merge this change for grepping / clarity |
…ndom segment custom search to using standard CRM_Utils_SQL_TemporaryTable method and ensure that the random segement custom search shows up in the list of avliable custom searches
Overview
This changes the way temporary tables are created within the random segment custom search and also ensures that it shows up in the list of possible custom searches.
Before
Legacy way of coding up temporary tables used
After
CRM_Utils_SQL_TempTable interface used
ping @eileenmcnaughton @totten