Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Perbaiki order artikel #879

Merged
merged 4 commits into from
Sep 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion app/Http/Controllers/Informasi/ArtikelController.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ public function getDataArtikel(Request $request)
} else {
return '<span class="label label-success">Aktif</span>';
}
})->editColumn('created_at', function ($row) {
})
->editColumn('dibuat', function ($row) {
return format_datetime($row->created_at);
})
->rawColumns(['status'])
Expand Down
2 changes: 1 addition & 1 deletion catatan_rilis.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Terima kasih pada [untuk diisi] yang terus berkontribusi.
5. [#861](https://github.com/OpenSID/OpenDK/issues/861) Perbaikan tidak bisa tambah atau ubah data desa jika tidak ada akses pantau.
6. [#862](https://github.com/OpenSID/OpenDK/issues/862) Perbaikan tambah pengguna baru.
7. [#865](https://github.com/OpenSID/OpenDK/issues/865) Perbaikan notifikasi pada halaman ganti password default.

8. [#875](https://github.com/OpenSID/OpenDK/issues/875) Perbaikan pengurutan pada tanggal terbit artikel.

#### Penyesuaian Teknis
1. [#797](https://github.com/OpenSID/OpenDK/issues/797) Penyesuaian editor menggunakan tinymce pada form profil keacamtan.
Expand Down
13 changes: 11 additions & 2 deletions resources/views/informasi/artikel/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,24 @@ class: 'text-center',
searchable: false,
orderable: false
},
{
data: 'dibuat',
name: 'dibuat',
class: 'text-center',
searchable: false,
orderData: 4,
},
{
data: 'created_at',
name: 'created_at',
class: 'text-center',
searchable: false
searchable: false,
orderable: false,
visible: false
},
],
order: [
[3, 'desc']
[4, 'desc']
]
});
});
Expand Down