<commit_before>$(document).ready(function() {

	$('#presensi-nav').addClass("active");
	var tabelLibur;
	var tabelRekap = $('#tabelRekap').DataTable({
		"dom": "<'row'<'col-sm-9'><'col-sm-3'f>>" +
			"<'row'<'col-sm-12'tr>>" +
			"<'row'<'col-sm-5'l><'col-sm-7'p>>",
		"ajax": {
			"url": BASE_URL+"c_presensi/get_tabel_rekap",
			"dataSrc": ""
		},
		"columns": [
		{ "data": "NAMA" },
		{ "data": "SATKER" },
		{ "data": "TAHUN" },
		{ "data": "BULAN" },
		{ "data": "PRESENSI" },
		{ "data": "LEMBUR" },
		{ "data": "ID_REKAP" }
		],'columnDefs':[{
			'targets': 6,
			'searchable':false,
			'orderable':false,
			'className': 'dt-body-center',
			'render': function (data){
				return '<input type="button" class="detail-rekap" value="' + data + '">';
			}
		}],"order": [],
		initComplete:function(){}
	});

	$(document).on('click','#upload',function(event){
		var requrl = BASE_URL+'c_presensi/form_upload';
		$.ajax({<commit_msg>added month filter<commit_after>$(document).ready(function() {

	$('#presensi-nav').addClass("active");
	var tabelLibur;
	var tabelRekap = $('#tabelRekap').DataTable({
		"dom": "<'toolbar'>f" +
			"<'row'<'col-sm-12'tr>>" +
			"<'row'<'col-sm-5'l><'col-sm-7'p>>",
		"ajax": {
			"url": BASE_URL+"c_presensi/get_tabel_rekap",
			"dataSrc": ""
		},
		"columns": [
		{ "data": "NAMA" },
		{ "data": "SATKER" },
		{ "data": "TAHUN" },
		{ "data": "BULAN" },
		{ "data": "PRESENSI" },
		{ "data": "LEMBUR" },
		{ "data": "ID_REKAP" }
		],'columnDefs':[{
			'targets': 6,
			'searchable':false,
			'orderable':false,
			'className': 'dt-body-center',
			'render': function (data){
				return '<input type="button" class="detail-rekap" value="' + data + '">';
			}
		}],"order": [],
		initComplete:function(){
			$('div.toolbar').html('<div class="wow pull-right">&nbsp;</div>');

			var column = this.api().column(3);
			var select = $('<select class="form-control"><option value=""></option></select>')
			.appendTo( $('.wow')).on('change', function(){
				var val = $.fn.dataTable.util.escapeRegex($(this).val());
				console.log(val);
				column.search( val ? '^'+val+'$' : '', true, false ).draw();
			});

			column.data().unique().sort().each( function ( d, j ) {
				select.append( '<option value="'+d+'">'+d+'</option>' )
			});
		}
	});

	$(document).on('click','#upload',function(event){
		var requrl = BASE_URL+'c_presensi/form_upload';
		$.ajax({
{'fraction_non_alphanumeric': 0.2784757118927973, 'fraction_numerical': 0.005443886097152429, 'mean_word_length': 4.193478260869565, 'pattern_counts': {'":': 26, '<': 27, '<?xml version=': 0, '>': 27, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '770750', 'n_tokens_mistral': 1083, 'n_tokens_neox': 977, 'n_words': 138}