Giter Club home page Giter Club logo

Comments (2)

aceArt-GmbH avatar aceArt-GmbH commented on July 26, 2024 3

@teaminmedias-pluswerk same issue here. The default sort order of the TCA was changed from "name DESC" to "uid DESC" by the media plugin. You can solve this bug by overwriting the default sort order again in your extension. Just create a sys_file.php in your extension under the path Configuration/TCA/Overrides with the content:

if (!defined('TYPO3_MODE')) die ('Access denied.');

$tca = [
    'ctrl' => [
        'default_sortby' => 'name DESC'
    ]
];

\TYPO3\CMS\Core\Utility\ArrayUtility::mergeRecursiveWithOverrule($GLOBALS['TCA']['sys_file'], $tca);

Don't forget to add the media constraint at your ext_emconf.php file to make sure that your extension is loaded after the media extension.

That fix isn't perfect. It changes the behavior of the sort order at the media table. But it solves the issue for me.

from media.

fabarea avatar fabarea commented on July 26, 2024

It has been fixed here 43136f9

from media.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.