Commit 6491511d authored by Chris McDonough's avatar Chris McDonough

Changed unusable search error to use straight absolute_url of database adapter...

Changed unusable search error to use straight absolute_url of database adapter to show as a link (redirects to manage_testForm).
parent 2776d1df
...@@ -84,8 +84,8 @@ ...@@ -84,8 +84,8 @@
############################################################################## ##############################################################################
__doc__='''Search Interface Wizard __doc__='''Search Interface Wizard
$Id: Search.py,v 1.15 2001/01/12 17:12:43 chrism Exp $''' $Id: Search.py,v 1.16 2001/01/12 17:52:28 chrism Exp $'''
__version__='$Revision: 1.15 $'[11:-2] __version__='$Revision: 1.16 $'[11:-2]
from Globals import DTMLFile from Globals import DTMLFile
from Aqueduct import custom_default_report, nicify, Args from Aqueduct import custom_default_report, nicify, Args
...@@ -110,7 +110,7 @@ def manage_addZSearch(self, report_id, report_title, report_style, ...@@ -110,7 +110,7 @@ def manage_addZSearch(self, report_id, report_title, report_style,
arguments={} arguments={}
keys=[] keys=[]
for q in qs: for q in qs:
url=q.absolute_url() + '/manage_main' url=q.absolute_url()
if input_id: if input_id:
for name, arg in q._searchable_arguments().items(): for name, arg in q._searchable_arguments().items():
if len(qs) > 1: key="%s/%s" % (id,name) if len(qs) > 1: key="%s/%s" % (id,name)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment