Commit 0dd061db by Alfiro Pratama

fix query getdosen

parent cd927e8c
......@@ -34,7 +34,7 @@ class DosenController extends Controller
$jumlah_bimbingan = Kelompok::where('id_sdm', $item['id_sdm'])
->where('periode_id', $periode->periode_id)
->where('status_hapus', '0')
->where('kirim', 1)
->where('kirim', '1')
->whereYear('created_at', $periode->nama)
->count();
......
......@@ -67,7 +67,7 @@
ajax: {
url: "{{ route('api.getDosen') }}",
dataType: 'json',
delay: 250,
delay: 500,
data: function (params) {
return {
q: params.term, // search term
......@@ -108,7 +108,7 @@
cache: true
},
placeholder: 'Pilih Dosen Pembimbing',
minimumInputLength: 1,
minimumInputLength: 5,
templateResult: formatRepo,
templateSelection: formatRepoSelection
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment