Subject: | Form in Tree View page has wrong action href |
RT-View-Tree-1.2 has a simple bug in html/Search/Tree.html
The form in the bottom of the Tree View page points to /Search/Tree.html which is broken when $RT::WebPath ne ''
The attached patch fixes this.
diff -ur RT-View-Tree-1.2.orig/html/Search/Tree.html RT-View-Tree-1.2/html/Search/Tree.html
--- RT-View-Tree-1.2.orig/html/Search/Tree.html 2005-03-24 04:02:26.000000000 +0200
+++ RT-View-Tree-1.2/html/Search/Tree.html 2005-06-15 14:25:09.969868264 +0300
@@ -192,7 +192,7 @@
</%perl>
</table>
<hr>
-<form method="get" action="/Search/Tree.html">
+<form method="get" action="<%$RT::WebPath%>/Search/Tree.html">
<input type="hidden" name="Query" value="<%$Query%>">
<input type="hidden" name="Format" value="<%$Format%>">
<& /Elements/TitleBoxStart, title => loc('Display options') &>
Only in RT-View-Tree-1.2/html/Search: Tree.html~