[Rt-commit] rt branch, 4.0/hide-simple-fulltext, created. rt-4.0.0-180-g709cc4e
Shawn Moore
sartak at bestpractical.com
Wed May 4 17:15:26 EDT 2011
The branch, 4.0/hide-simple-fulltext has been created
at 709cc4e465948d1690e5cf0cea2a4874d8521f7a (commit)
- Log -----------------------------------------------------------------
commit 709cc4e465948d1690e5cf0cea2a4874d8521f7a
Author: Shawn M Moore <sartak at bestpractical.com>
Date: Wed May 4 17:15:01 2011 -0400
Only show the you can search fulltext if FullText is on
diff --git a/share/html/Search/Simple.html b/share/html/Search/Simple.html
index b9a84b6..9284d67 100644
--- a/share/html/Search/Simple.html
+++ b/share/html/Search/Simple.html
@@ -56,7 +56,11 @@
<p><&|/l&>Search for tickets. Enter <strong>id</strong> numbers, <strong>queues</strong> by name, Owners by <strong>username</strong> and Requestors by <strong>email address</strong>.</&></p>
+% my $config = RT->Config->Get('FullTextSearch') || {};
+% if ( $config->{'Enable'} ) {
<p><&|/l&>Searching the full text of every ticket can take a long time, but if you need to do it, you can search for any word in full ticket history for any word by typing <b>fulltext:<i>word</i></b>.</&></p>
+% }
+
<p><&|/l&>RT will look for anything else you enter in ticket subjects.</&></p>
% my $status_str = join ', ', map { loc($_) } RT::Queue->ActiveStatusArray;
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list