[Rt-commit] [rtir] 02/18: Get the new queue summary widget to respect constituency urls

Jesse Vincent jesse at bestpractical.com
Wed Mar 11 03:36:43 EDT 2015


This is an automated email from the git hooks/post-receive script.

jesse pushed a commit to branch 3.4/remove_old_constituencies
in repository rtir.

commit fb490a129580f157b9107399d4f7c8c8b1f2e445
Author: Jesse Vincent <jesse at bestpractical.com>
Date:   Tue Mar 10 18:36:26 2015 -0700

    Get the new queue summary widget to respect constituency urls
---
 html/RTIR/Elements/QueueSummary | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/html/RTIR/Elements/QueueSummary b/html/RTIR/Elements/QueueSummary
index b0e8218..782c0f2 100644
--- a/html/RTIR/Elements/QueueSummary
+++ b/html/RTIR/Elements/QueueSummary
@@ -106,9 +106,9 @@ my $build_search_link = sub {
     my ($queue_name, $extra_query) = @_;
     $queue_name =~ s/(['\\])/\\$1/g; #'
 
-    return RT->Config->Get('WebPath')
-         . "/Search/Results.html?Query="
-         . $m->interp->apply_escapes("Queue = '$queue_name' AND $extra_query", 'u');
+    RT::IR->HREFTo(
+          "Search/Results.html?Query="
+         . $m->interp->apply_escapes("Queue = '$queue_name' AND $extra_query", 'u'));
 };
 
 my $link_all = sub {

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the rt-commit mailing list