From f8fe52e05cc3713dcd5945d05051627542825843 Mon Sep 17 00:00:00 2001 From: eileen Date: Mon, 11 Nov 2019 15:03:50 +1300 Subject: [PATCH] dev/core#1381 fix fatal on case search (unreleased regression --- CRM/Core/Form/Search.php | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/CRM/Core/Form/Search.php b/CRM/Core/Form/Search.php index b03bbc46b6..6dc3d7a7e9 100644 --- a/CRM/Core/Form/Search.php +++ b/CRM/Core/Form/Search.php @@ -457,6 +457,27 @@ class CRM_Core_Form_Search extends CRM_Core_Form { } + /** + * Get the label for the group field. + * + * @return string + */ + protected function getGroupLabel() { + return ts('Group(s)'); + } + + /** + * Get the label for the tag field. + * + * We do this in a function so the 'ts' wraps the whole string to allow + * better translation. + * + * @return string + */ + protected function getTagLabel() { + return ts('Tag(s)'); + } + /** * we allow the controller to set force/reset externally, useful when we are being * driven by the wizard framework -- 2.25.1