Optimization (regression introduced in 2.1.0): huge tables and HTML exports of tickets can take long to execute (require 1 query per fetched row)

SVN:trunk[3708]
This commit is contained in:
Romain Quetiez
2015-09-01 14:38:33 +00:00
parent cba724d676
commit 71048be499

View File

@@ -4136,6 +4136,12 @@ class AttributeStopWatch extends AttributeDefinition
return $this->Get('states');
}
public function AlwaysLoadInTables()
{
// Each and every stop watch is accessed for computing the highlight code (DBObject::GetHighlightCode())
return true;
}
/**
* Construct a brand new (but configured) stop watch
*/