diff --git a/indra/llui/lltextbox.h b/indra/llui/lltextbox.h
index 68bc7695de932ed62e92c90a334e5acfac72343c..2a39b6d7f1841f21deea4c8a90850be4d5d23ce7 100644
--- a/indra/llui/lltextbox.h
+++ b/indra/llui/lltextbox.h
@@ -79,6 +79,12 @@ class LLTextBox :
 	LLUIString			mText;
 	callback_t			mClickedCallback;
 	bool				mShowCursorHand;
+
+protected:
+	virtual std::string _getSearchText() const
+	{
+		return LLTextBase::_getSearchText() + mText.getString();
+	}
 };
 
 // Build time optimization, generate once in .cpp file