From 1a2ce1d71c1e5383d25d540c7ccf6ce19f0ecb11 Mon Sep 17 00:00:00 2001 From: Kevin Cristiano Date: Mon, 29 Jun 2020 07:53:36 -0400 Subject: [PATCH] dev/joomla/#28 5.27 Upgrade fails Failure is due to 'Undefined class constant 'POST_SELECT_QUERY' see https://lab.civicrm.org/dev/joomla/-/issues/28 --- Civi/Api4/Event/Events.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Civi/Api4/Event/Events.php b/Civi/Api4/Event/Events.php index b42618db6987..c5247695c5fb 100644 --- a/Civi/Api4/Event/Events.php +++ b/Civi/Api4/Event/Events.php @@ -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'; + }