[Rt-commit] [rtir] 12/18: Switch an "intuit the uri" to something dhandler compatible

Jesse Vincent jesse at bestpractical.com
Wed Mar 11 03:36:46 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 e8d43ddf79a1162f045ccbf9c0b324c355d4f3e3
Author: Jesse Vincent <jesse at bestpractical.com>
Date:   Tue Mar 10 21:38:54 2015 -0700

    Switch an "intuit the uri" to something dhandler compatible
---
 html/RTIR/Search/Elements/BuildQuery | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/html/RTIR/Search/Elements/BuildQuery b/html/RTIR/Search/Elements/BuildQuery
index 1c41fb0..21ef81e 100644
--- a/html/RTIR/Search/Elements/BuildQuery
+++ b/html/RTIR/Search/Elements/BuildQuery
@@ -45,7 +45,11 @@
 %# those contributions and any derivatives thereof.
 %#
 %# END BPS TAGGED BLOCK }}}
-<form method="post" action="<% RT->Config->Get('WebPath') %><% $m->request_comp->path %>" name="BuildQuery" id="BuildQuery">
+%#
+%# 
+%# XXX TODO - this really ought to use HREFTo, but to do that
+%# we'd need to strip off the RTIR UIR prefix
+<form method="post" action="<% $r->path_info %>" name="BuildQuery" id="BuildQuery">
 <input type="hidden" class="hidden" name="SavedSearchId" value="<% $saved_search{'Id'} %>" />
 <input type="hidden" class="hidden" name="ResultPage" value="<% $ResultPage %>" />
 <input type="hidden" class="hidden" name="BaseQuery" value="<% $BaseQuery %>" />

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


More information about the rt-commit mailing list