From f94e86eceafa37a2da2ceecdf01d3e7ff2b22db3 Mon Sep 17 00:00:00 2001 From: Eric Date: Fri, 14 Feb 2020 16:19:30 +0100 Subject: [PATCH] :bug: Add missing function --- core/dbsearch.class.php | 6 ++++++ core/dbunionsearch.class.php | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/core/dbsearch.class.php b/core/dbsearch.class.php index ddee5b9f4..0fe45b240 100644 --- a/core/dbsearch.class.php +++ b/core/dbsearch.class.php @@ -238,6 +238,12 @@ abstract class DBSearch */ abstract public function GetClassAlias(); + /** + * @return string + * @internal + */ + abstract public function GetFirstJoinedClass(); + /** * Change the class * diff --git a/core/dbunionsearch.class.php b/core/dbunionsearch.class.php index dc3bcbfa1..ff5abe83e 100644 --- a/core/dbunionsearch.class.php +++ b/core/dbunionsearch.class.php @@ -161,6 +161,11 @@ class DBUnionSearch extends DBSearch return $this->aSearches; } + public function GetFirstJoinedClass() + { + return $this->GetClass(); + } + /** * Limited to the selected classes */