Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 1092 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 1092 Revision 1102
Zeile 9... Zeile 9...
9
    {
9
    {
10
        protected $connection = "cms";
10
        protected $connection = "cms";
Zeile 11... Zeile 11...
11
 
11
 
12
        public function tool(): HasMany
12
        public function tool(): HasMany
13
        {
13
        {
14
            return $this->hasMany( Tool::class );
14
            return $this->hasMany( Tool::class )->orderBy( 'tools.rang' );
15
        }
15
        }
16
    }
16
    }