Closed Tastaturberuf closed 6 years ago
That's a good idea but I think this should rather be a Contao core code. @Toflar @aschempp
I think the same but i want to have it asap and in older contao versions like 3.5 LTS and 4.4 LTS. That's why this is also a 'haste' feature.
I like the idea and I'm fine with adding it to Haste. But I think the constant names should be shorter and the classes should be in Haste\Dca
namespace.
I agree with moving it to the Dca
namespace. Also, the names could be shortened a bit:
NOT_SORTED => NONE
SORTED_FIXED_FIELD => FIXED_FIELD
SORTED_SWITCHABLE_FIELD => SWITCHABLE_FIELD
SORTED_PARENT_TABLE => PARENT_TABLE
DISPLAY_AS_CHILD => CHILD_VIEW
DISPLAY_AS_TREE => TREE_VIEW
DISPLAY_AS_CHILD_TREE => CHILD_TREE_VIEW
Thanks for the feedback. I update the PR
Thanks @Tastaturberuf !
I have just released 4.19.0.
add readable sorting modes and flags for using in the dca files