Skip to content

A free open source IT asset/license management system

Removed order by in journal relationship (fixed FD-56646)

snipedda2eaa9441e
diff --git a/app/Models/Asset.php b/app/Models/Asset.php
index 7998362412..a7b1ea522a 100644
--- a/app/Models/Asset.php
+++ b/app/Models/Asset.php
@@ -1388,7 +1388,6 @@ class Asset extends Depreciable
public function journal()
{
return $this->assetlog()->where('action_type', '=', 'note added')
- ->orderBy('created_at', 'desc')
->withTrashed();
}