mirror of
https://github.com/werkraum-media/events.git
synced 2024-11-24 09:36:11 +01:00
Daniel Siepmann
1929a4a566
Extbase will properly use mm sorting. But categories can't be sorted within the TCA tree component. Therefore it makes more sense to use actual sys_category sorting. In order to do so, we add our own model and pass the sorting. That way PHP can do the sorting. That's the easiest approach. Also events shouldn't contain to many categories. A performance impact should not be high. Relates: #8459
9 lines
141 B
PHP
9 lines
141 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
return [
|
|
\Wrm\Events\Domain\Model\Category::class => [
|
|
'tableName' => 'sys_category',
|
|
],
|
|
];
|