You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Plugins/sorting/turkish-string.min.mjs

2 lines
468 B
JavaScript

/*! © SpryMedia Ltd, Yuksel Beyti - datatables.net/license */
import $ from"jquery";import DataTable from"datatables.net";DataTable.ext.order["turkish-pre"]=function(a){var b,t={C:"Ca",c:"ca","Ç":"Cb","ç":"cb",G:"Ga",g:"ga","Ğ":"Gb","ğ":"gb",I:"Ia","ı":"ia","İ":"Ib",i:"ib",O:"Oa",o:"oa","Ö":"Ob","ö":"ob",S:"Sa",s:"sa","Ş":"Sb","ş":"sb",U:"Ua",u:"ua","Ü":"Ub","ü":"ub"};for(b in t)a=a.split(b).join(t[b]).toLowerCase();return a};export default DataTable;