Fix for tags not showing

This commit is contained in:
Kode 2019-06-22 17:03:01 +01:00
parent 9f26de89a4
commit f272dd13ce
2 changed files with 3 additions and 3 deletions

View file

@ -30,11 +30,11 @@ class ItemController extends Controller
{
$data['apps'] = Item::whereHas('parents', function ($query) {
$query->where('id', 0);
})->pinned()->orderBy('order', 'asc')->get();
})->orWhere('type', 1)->pinned()->orderBy('order', 'asc')->get();
$data['all_apps'] = Item::whereHas('parents', function ($query) {
$query->where('id', 0);
})->orderBy('order', 'asc')->get();
})->orWhere('type', 1)->orderBy('order', 'asc')->get();
//$data['all_apps'] = Item::doesntHave('parents')->get();
//die(print_r($data['apps']));

View file

@ -14,7 +14,7 @@ return [
*/
'name' => env('APP_NAME', 'Heimdall'),
'version' => '2.2.2',
'version' => '2.2.3',
/*
|--------------------------------------------------------------------------