limit bug

This commit is contained in:
Dennis Eichhorn 2022-03-29 22:30:02 +02:00
parent 4239c2fdfb
commit 8224079a56

View File

@ -119,7 +119,7 @@ final class BackendController extends Controller
->with('contactElements')
->with('mainAddress')
->with('files')->limit(5, 'files')->sort('files/id', OrderType::DESC)
->with('notes')->limit(5, 'files')->sort('notes/id', OrderType::DESC)
->with('notes')->limit(5, 'notes')->sort('notes/id', OrderType::DESC)
->where('id', (int) $request->getData('id'))
->execute();