major
nice-to-have
defect
major
enhancement
You might want to specify, for a given type, the configuration used to display a table column when an attribute of that type is shown as a column in a table.
Similarly, you might want to specify, for an attribute, the column configuration to be used when that attribute is displayed in a table (more specifically than at the attribute type level).
Application
Model:
#!xml
<datatype name="DateTime" db_type="timestamp" kind="Date">
...
<annotations>
<config-type value="DATE_TIME"/>
...
</annotations>
</datatype>
with application configuration
#!xml
<attribute-setting config-type="DATE_TIME" legacy-type-code="2">
...
<column-info>
<comparator class="com.top_logic.basic.col.NullSafeComparator">
<base-comparator class="..."/>
</comparator>
...
</column-info>
</attribute-setting>
or via an annotation on the type:
#!xml
<datatype name="DateTime" db_type="timestamp" kind="Date">
...
<annotations>
<column-info>
<comparator class="com.top_logic.basic.col.NullSafeComparator">
<base-comparator class="..."/>
</comparator>
...
</column-info>
...
</annotations>
</datatype>
Or on a property with the same annotation.
Test
See #22805