Major
Nice to have
Bugfix
Major
Enhancement
One would like to determine at a type with which configuration a table column is displayed when an attribute of this type is displayed in a table as a column.
Likewise, one might want to specify at an attribute the column configuration to be used when that attribute is displayed in a table (more specific than at the attribute's type).
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 annotation on 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 at a property with the same annotation.
Test
Cf. #22805