Added some Tag support; renamed Report items from textreport to report to be more general; added super user admin return and editing of profile/user
svn: r19735
This commit is contained in:
@@ -188,7 +188,8 @@ def process_report_run(request, handle):
|
||||
if "=" in pair:
|
||||
key, value = pair.split("=", 1)
|
||||
args[key] = value
|
||||
if report.report_type == "textreport":
|
||||
#############################################################################
|
||||
if report.report_type == "report":
|
||||
filename = "/tmp/%s-%s.%s" % (str(profile.user.username), str(handle), args["off"])
|
||||
run_report(db, handle, of=filename, **args)
|
||||
mimetype = 'application/%s' % args["off"]
|
||||
|
Reference in New Issue
Block a user