dev/joomla/#28 5.27 Upgrade fails
authorKevin Cristiano <kcristiano@kcristiano.com>
Mon, 29 Jun 2020 11:53:36 +0000 (07:53 -0400)
committerKevin Cristiano <kcristiano@kcristiano.com>
Mon, 29 Jun 2020 11:53:36 +0000 (07:53 -0400)
Failure is due to 'Undefined class constant 'POST_SELECT_QUERY'  see https://lab.civicrm.org/dev/joomla/-/issues/28

Civi/Api4/Event/Events.php

index b42618db698710f9052aeea79bef01079de4deb4..c5247695c5fbe391acc5709e592b57c9100608d0 100644 (file)
@@ -28,4 +28,10 @@ class Events {
    */
   const SCHEMA_MAP_BUILD = 'api.schema_map.build';
 
+  /**
+   * Add back POST_SELECT_QUERY const due to Joomla upgrade failure
+   * https://lab.civicrm.org/dev/joomla/-/issues/28#note_39487
+   */
+  const POST_SELECT_QUERY = 'api.select_query.post';
+
 }