Fix filter by name

svn: r19496
This commit is contained in:
Doug Blank 2012-05-11 12:22:11 +00:00
parent f1eeb470f3
commit 27a66aec72

View File

@ -284,10 +284,12 @@ class SimpleTable(object):
handles=handle)
elif objclass == 'Filter':
from QuickReports import run_quick_report_by_name
if isinstance(handle, list):
handle = handle[0]
run_quick_report_by_name(self.simpledoc.doc.dbstate,
self.simpledoc.doc.uistate,
'filterbyname',
handle[0])
handle)
return False # didn't handle event
def on_table_click(self, obj):