|
@@ -133,7 +133,8 @@ class QueryManager(object):
|
|
|
), date, store)
|
|
|
|
|
|
def unique_suggestions(self, name, **kwargs):
|
|
|
- return unique_suggestions(self.cursor, get_transactions_statement(), name, self.display, **kwargs)
|
|
|
+ statement = get_transactions_statement()
|
|
|
+ return unique_suggestions(self.cursor, statement, name, self.display, **kwargs)
|
|
|
|
|
|
def insert_new_product(self, product, category, group):
|
|
|
self.cursor.execute(get_insert_product_statement(product, category, group))
|