Edit defaultOrders in controller
What would be the most correct way to edit?
$this->defaultOrders of ModuleController in my controller, I understand that setting it in setUpController would work, but it is not a public method,
My idea is something similar to this:
$this->enableReorder();
$this->defaultOrders = [ 'publish_start_date' => 'desc'];
ifox•139d ago
you can override the class property directly, so outside of the constructor
1.4KMembers
View on DiscordWant results from more Discord servers?
More PostsVue2 EOL Plans?We're upgrading our application and generally upgrading our setup in preparation for the Vue2 EOL atRoute [admin.password.reset.link] not defined on upgrade from 2.x to 3Hey folks, I followed the upgrade guide step by step successfully, but when I try to visit the adminTwicpics & fit=cropApparently fit=crop is automatically added to the url, also when using Twicpics as image service. HoCan anyone help me get a single image/media field working within a json repeater ?I've detailed the issue here: https://github.com/area17/twill/discussions/2358