Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 1102 | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 1102 Revision 1167
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 )->orderBy( 'tools.rang' );
14
            return $this->hasMany( Tool::class )->where( 'hidden', '=', 'false' )->orderBy( 'tools.rang' );
15
        }
15
        }
16
    }
16
    }