website_search_products unaccented search

This commit is contained in:
Luis 2023-02-14 12:18:00 +01:00
parent a9382d5d0b
commit 98d6eac395

View file

@ -47,6 +47,7 @@
</div> </div>
</div> </div>
<script src="https://cdn.datatables.net/1.13.1/js/jquery.dataTables.min.js" /> <script src="https://cdn.datatables.net/1.13.1/js/jquery.dataTables.min.js" />
<script src="https://cdn.datatables.net/plug-ins/1.13.2/filtering/type-based/accent-neutralise.js" />
<link rel="stylesheet" href="https://cdn.datatables.net/1.13.1/css/jquery.dataTables.min.css" /> <link rel="stylesheet" href="https://cdn.datatables.net/1.13.1/css/jquery.dataTables.min.css" />
<script> <script>
$('#productTable').DataTable({ $('#productTable').DataTable({
@ -56,7 +57,6 @@
"url": "https://cdn.datatables.net/plug-ins/1.13.1/i18n/es-ES.json" "url": "https://cdn.datatables.net/plug-ins/1.13.1/i18n/es-ES.json"
} }
}); });
console.log("table init");
</script> </script>
</t> </t>
</template> </template>