Improved the column load optimization which was causing object reloads in various circumstances (impact can be important when loading lists with many lines):

1) When changing column settings (menu "Configure this list")
2) When a plugin was systematically reading some data (e.g. Highlighting late tickets requires to read tto/trr/status/start_date!)

SVN:trunk[2925]
This commit is contained in:
Romain Quetiez
2013-10-17 09:46:10 +00:00
parent 401d61aa76
commit afa3c40c3e
8 changed files with 41 additions and 14 deletions

View File

@@ -37,6 +37,7 @@
</properties>
<fields>
<field id="status" xsi:type="AttributeEnum">
<always_load_in_tables>true</always_load_in_tables>
<values>
<value>new</value>
<value>assigned</value>
@@ -163,6 +164,7 @@
<goal/>
</field>
<field id="tto" xsi:type="AttributeStopWatch">
<always_load_in_tables>true</always_load_in_tables>
<states>
<state id="new"/>
<state id="escalated_tto"/>
@@ -189,6 +191,7 @@
</thresholds>
</field>
<field id="ttr" xsi:type="AttributeStopWatch">
<always_load_in_tables>true</always_load_in_tables>
<states>
<state id="new"/>
<state id="escalated_tto"/>