main
Ilham Wara Nugroho 2026-04-08 15:09:08 +07:00
parent 4cc59b9bb9
commit e059da856f
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ class HomeController extends Controller
->value('total_resource');
$data['total'] = \DB::table('dataset as d')
->where('d.instansi_id', session('instansi_id'))
->where('d.status',0)
->where('d.status',1)
->whereIn('d.template_id', function ($q) {
$q->selectRaw('(jsonb_array_elements_text(resource_data::jsonb))::int')
->from('ms_instansi')