improve duplicates filtering routing (and fix spelling)

This commit is contained in:
Helmut Merz 2012-03-30 10:43:16 +02:00
parent 6b99765ccf
commit b4a888c650

View file

@ -1,5 +1,5 @@
#
# Copyright (c) 2011 Helmut Merz helmutm@cy55.de
# Copyright (c) 2012 Helmut Merz helmutm@cy55.de
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@ -107,12 +107,11 @@ class ReportInstance(BaseReport):
def getCategories(self):
result = list(self.selectObjects(None))
return ResultSet(self, result, rowFactory=self.categoryRowFactory,
filterDublicate=True)
filterDuplicates=True)
def getCombinedResults(self):
return CombinedResultSet(self, self.getCategories(), self.getResults())
def selectObjects(self, parts):
# to be implemented by subclass
return []