Open
Conversation
Contributor
|
mas @habibie11 :
dengan jumlah yang ada di maing-masing menu misalkan OpenSID cek dengan filter tanggal yang sama :
seharusnya hasilnya sama. |
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



issue #614
Ringkasan
Sinkronisasi logika filter "Desa Aktif" dan "Kecamatan Aktif" pada dasbor Layanan Desa, Kelola Desa, dan OpenDK agar konsisten dengan dasbor OpenSID. Perubahan ini mencakup pengiriman parameter periode (
period) dari frontend dan penanganannya di backend melalui scope model.Detail Perubahan
Frontend (Blade & JavaScript)
layanandesa/index.blade.php):periodpada request AJAX untuk menghitung pengguna aktif.keloladesa/index.blade.php):periodpada AJAX request.filter-label) di bawah jumlah desa aktif.opendk/index.blade.php):periodpada AJAX request.filter-label).Backend (Model & Controller)
TrackMobile::scopeActiveuntuk memproses filter berdasarkan rentang tanggal (period).TrackKeloladesa::scopeActiveuntuk mendukung filter periode.Opendk::scopeActiveuntuk konsistensi filter tanggal.AktifLayananDesaControlleruntuk memastikan parameter dikirim dengan benar.Cara Verifikasi
Pengujian Otomatis
Telah dibuat pengujian fitur untuk memastikan penanganan filter data aktif melalui API berjalan dengan benar untuk semua modul:
tests/Feature/Api/AktifWilayahTest.phpOK (4 tests, 14 assertions)desa-aktif-opensid,aktif-layanandesa,aktif-keloladesa, danaktif-opendk.