From 7f65b2307488fee90efe05d57b062a9f2797d863 Mon Sep 17 00:00:00 2001 From: Hugo Sales Date: Tue, 21 Dec 2021 12:44:34 +0000 Subject: [PATCH] [DB] Allow mentioning 'note' in a DQL query (in quotes), in order to be able to search in the activity table (previously would be replaced by the class name) --- src/Core/DB/DB.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/DB/DB.php b/src/Core/DB/DB.php index 6d6aaa5ba6..2a16692b8f 100644 --- a/src/Core/DB/DB.php +++ b/src/Core/DB/DB.php @@ -84,7 +84,7 @@ class DB } self::$sql_table_entity_pattern = '/(' . implode('|', array_keys(self::$table_map)) . ')\s([^\s]+)/'; - self::$dql_table_name_patterns = F\map(self::$table_map, fn ($_, $s) => "/(? "/(?