mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
feat wiki/ayuda section
This commit is contained in:
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user