mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
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:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user