mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 23:45:10 +00:00
Improve attachment list.
This commit is contained in:
@@ -152,7 +152,7 @@ class AttachmentController extends Controller
|
||||
*/
|
||||
public function index()
|
||||
{
|
||||
$set = $this->repository->get();
|
||||
$set = $this->repository->get()->reverse();
|
||||
$set = $set->each(
|
||||
function (Attachment $attachment) {
|
||||
$attachment->file_exists = $this->repository->exists($attachment);
|
||||
|
Reference in New Issue
Block a user