Move last (hopefully) custom search classes to the extension, unhide
authorEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 26 Jun 2023 04:58:37 +0000 (21:58 -0700)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 26 Jun 2023 05:11:47 +0000 (22:11 -0700)
ext/legacycustomsearches/CRM/Contact/BAO/SearchCustom.php [moved from CRM/Contact/BAO/SearchCustom.php with 100% similarity]
ext/legacycustomsearches/CRM/Contact/Page/CustomSearch.php [moved from CRM/Contact/Page/CustomSearch.php with 100% similarity]
ext/legacycustomsearches/CRM/Contact/Selector/Custom.php
ext/legacycustomsearches/info.xml
ext/legacycustomsearches/templates/CRM/Contact/Page/CustomSearch.hlp [moved from templates/CRM/Contact/Page/CustomSearch.hlp with 100% similarity]
ext/legacycustomsearches/templates/CRM/Contact/Page/CustomSearch.tpl [moved from templates/CRM/Contact/Page/CustomSearch.tpl with 100% similarity]

index b58922b0e50b1387c752d25edf1bcd30db055e68..7170f7e82110169a26278d06c4014f65894f817c 100644 (file)
@@ -449,7 +449,7 @@ class CRM_Contact_Selector_Custom extends CRM_Contact_Selector {
       Civi::service('prevnext')->fillWithSql($cacheKey, $sql);
     }
     catch (\Exception $e) {
-      CRM_Core_Error::deprecatedFunctionWarning('Custom searches should return sql capable of filling the prevnext cache.');
+      CRM_Core_Error::deprecatedFunctionWarning('Custom searches should override this function or return sql capable of filling the prevnext cache.');
       // This will always show for CiviRules :-( as a) it orders by 'rule_label'
       // which is not available in the query & b) it uses contact not contact_a
       // as an alias.
index d59c1bbf8023e3593f954c5ab8b4a5ac7259b9bf..55f90ad4da25ee65ef192af740d9c953779d8928 100644 (file)
   <releaseDate>2021-07-25</releaseDate>
   <version>5.64.alpha1</version>
   <develStage>stable</develStage>
-  <tags>
-    <tag>mgmt:hidden</tag>
-  </tags>
   <compatibility>
     <ver>5.64</ver>
   </compatibility>
-  <comments>This is hidden on install to give extensions that require it time to add it to their requires and to allow us to get it out of GroupContact load</comments>
+  <comments>This is our old search system which has limited support. All new effort is on SearchKit</comments>
   <classloader>
     <psr0 prefix="CRM_" path="."/>
     <psr4 prefix="Civi\" path="Civi"/>