Implementasi Pengurutan (Sorting) di Halaman Statistik Data Presisi#940
Open
Implementasi Pengurutan (Sorting) di Halaman Statistik Data Presisi#940
Conversation
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 #934
penyesuaian di Api Database Gabungan https://github.com/OpenSID/API-Database-Gabungan/pull/322
e387064d-c1be-4f5e-901f-9eac11a79c82.webm
PR ini mengimplementasikan fitur pengurutan data (sorting) pada kolom Jumlah di berbagai halaman statistik. Implementasi ini mengikuti pola yang sudah ada pada halaman
desa/index.blade.php, di mana logika pengurutan dilakukan di sisi server (server-side).Perubahan Teknis
ordering: true.sortpada pengiriman data ke API.jumlahuntuk urutan menaik (ascending) dan-jumlahuntuk urutan menurun (descending).jumlahpada kolom terkait agar dapat dikenali oleh API.Daftar File yang Diperbarui
Update dilakukan pada 10 file tampilan (Blade) berikut:
presisi/statistik/pangan.blade.phppresisi/statistik/adat.blade.phppresisi/statistik/aktivitas-keagamaan.blade.phppresisi/statistik/jaminan-sosial.blade.phppresisi/statistik/kesehatan.blade.phppresisi/statistik/ketenagakerjaan.blade.phppresisi/statistik/papan.blade.phppresisi/statistik/pendidikan.blade.phppresisi/statistik/sandang.blade.phppresisi/statistik/senibudaya.blade.phpCara Verifikasi
sort=jumlahatausort=-jumlahke server.