feat wiki/ayuda section

This commit is contained in:
amazuecos
2025-03-02 10:22:01 +01:00
parent 3406fb3005
commit 3140e527e8
24 changed files with 735 additions and 168 deletions

View File

@ -16,8 +16,8 @@ class WikiSectionModel extends Model
protected $allowedFields = [
"name",
"slug",
"role",
"icon",
"order",
"parent_id"
];
@ -58,6 +58,6 @@ class WikiSectionModel extends Model
*/
public function sections() : array
{
return $this->findAll();
return $this->orderBy('order','asc')->findAll();
}
}