add_to_task still uses the old class
This commit is contained in:
1 parent
7b897fb7a8
commit
f09a34f1e1
1 file changed
+1
-1
@@ -885,7 +885,7 @@ class TasksView(ListView):
|
||||
data['wait_for_database_queue'] = False
|
||||
|
||||
def add_to_task(task):
|
||||
obj, url = map_task_to_instance(task)
|
||||
obj, url = map_task_to_instance(task, using_history=False)
|
||||
if not obj:
|
||||
return False
|
||||
setattr(task, 'instance', obj)
|
||||
|
||||
Reference in new issue
Block a user