[Rt-commit] rt branch, 4.2-trunk, updated. rt-4.2.13-92-g7d02828
Shawn Moore
shawn at bestpractical.com
Tue Jan 3 17:48:46 EST 2017
The branch, 4.2-trunk has been updated
via 7d02828265a8a551fbd22b78b91772dcde46a3ef (commit)
via 1a42077f8f4a68c2e7e44a7a3e6d9805191d729b (commit)
from 6132dd28149bd23c9bb912ff61d6ccea34e86a75 (commit)
Summary of changes:
share/html/Articles/Article/Search.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
- Log -----------------------------------------------------------------
commit 1a42077f8f4a68c2e7e44a7a3e6d9805191d729b
Author: Dave Goehrig <dave at bestpractical.com>
Date: Tue Jan 3 11:22:35 2017 -0500
Change quicksearch to redirect rather than display inline
Fixes: I#31591
diff --git a/share/html/Articles/Article/Search.html b/share/html/Articles/Article/Search.html
index 137eb3e..2d1ad73 100644
--- a/share/html/Articles/Article/Search.html
+++ b/share/html/Articles/Article/Search.html
@@ -137,7 +137,7 @@ my $format = q{
# If it is a number, load the article with that ID. Otherwise, search
# on name and summary.
if ($ARGS{'q'} && $ARGS{'q'} =~ /^(\d+)$/) {
- return $m->comp("/Articles/Article/Display.html", id => $1);
+ RT::Interface::Web::Redirect( RT->Config->Get('WebURL') . "Articles/Article/Display.html?id=" . $1 );
}
# }}}
commit 7d02828265a8a551fbd22b78b91772dcde46a3ef
Merge: 6132dd2 1a42077
Author: Shawn M Moore <shawn at bestpractical.com>
Date: Tue Jan 3 22:45:26 2017 +0000
Merge branch '4.2/article-quick-search-redirect' into 4.2-trunk
-----------------------------------------------------------------------
More information about the rt-commit
mailing list