]> BookStack Code Mirror - bookstack/blobdiff - app/Entity.php
Cleaned up tag edit interface
[bookstack] / app / Entity.php
index 7347ddcd689457e5eb1726df1d02a545f56a6ab2..5ea1d3876514b1590f947ce2fdbb26d2db5562cf 100644 (file)
@@ -60,7 +60,7 @@ class Entity extends Ownable
      */
     public function tags()
     {
-        return $this->morphMany(Tag::class, 'entity');
+        return $this->morphMany(Tag::class, 'entity')->orderBy('order', 'asc');
     }
 
     /**