mirror of
https://github.com/Karaka-Management/oms-ItemManagement.git
synced 2026-02-04 22:48:39 +00:00
september update 1
This commit is contained in:
parent
f84594408e
commit
9f39144617
|
|
@ -1,4 +1,16 @@
|
|||
<?php declare(strict_types=1);
|
||||
<?php
|
||||
/**
|
||||
* Orange Management
|
||||
*
|
||||
* PHP Version 8.0
|
||||
*
|
||||
* @package Modules
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
* @link https://orange-management.org
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
use Modules\ItemManagement\Controller\BackendController;
|
||||
use Modules\ItemManagement\Models\PermissionState;
|
||||
|
|
|
|||
|
|
@ -314,8 +314,8 @@ final class BackendController extends Controller
|
|||
$view->addData('nav', $this->app->moduleManager->get('Navigation')->createNavigationMid(1004805001, $request, $response));
|
||||
|
||||
$item = ItemMapper::with('language', $response->getLanguage())
|
||||
::with('files', limit: 5, orderBy: 'createdAt', sortOrder: 'ASC')
|
||||
::with('notes', limit: 5, orderBy: 'id', sortOrder: 'ASC')
|
||||
::with('files', limit: 5)::orderBy('createdAt', 'ASC')
|
||||
::with('notes', limit: 5)::orderBy('id', 'ASC')
|
||||
::get((int) $request->getData('id'));
|
||||
$view->addData('item', $item);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user