[Rt-commit] rt branch, 4.2/remove-duplicate-config-in-format-processing, created. rt-4.0.8-590-gcd3b1fe

Thomas Sibley trs at bestpractical.com
Tue Nov 27 20:29:36 EST 2012


The branch, 4.2/remove-duplicate-config-in-format-processing has been created
        at  cd3b1fe79b985216803f7960bcf7a37b3ea1cedf (commit)

- Log -----------------------------------------------------------------
commit cd3b1fe79b985216803f7960bcf7a37b3ea1cedf
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Tue Nov 27 17:27:11 2012 -0800

    Remove vestigial processing of config placeholders in search Formats
    
    __WebPath__ and friends are handled through ColumnMap nowadays.  It's
    better to keep processing in ColumnMap since not all searches are
    displayed through /Elements/SavedSearch.

diff --git a/share/html/Elements/ShowSearch b/share/html/Elements/ShowSearch
index 7358912..9035dd1 100644
--- a/share/html/Elements/ShowSearch
+++ b/share/html/Elements/ShowSearch
@@ -123,7 +123,6 @@ foreach ( $SearchArg, $ProcessedSearchArg ) {
     $_->{'Format'} ||= '';
     $_->{'Query'} ||= '';
 
-    $_->{'Format'} =~ s/__(Web(?:Path|Base|BaseURL))__/scalar RT->Config->Get($1)/ge;
     # extract-message-catalog would "$1", so we avoid quotes for loc calls
     $_->{'Format'} =~ s/__loc\(["']?(\w+)["']?\)__/my $f = "$1"; loc($f)/ge;
     if ( $_->{'Query'} =~ /__Bookmarked__/ ) {

-----------------------------------------------------------------------


More information about the Rt-commit mailing list