extras-evolution / multiTV

Custom TV for Evolution CMS: Transform a template variables into a sortable multi item list for the Evolution content management framework
8 stars 23 forks source link

Sort with accented characters #67

Open Neoziox opened 4 years ago

Neoziox commented 4 years ago

I have this: [!multiTV? &tvName=`multicontent` &outerTpl=`content.outer` &rowTpl=`content.row` &display=`all` &orderBy=`title1:text asc` &offset=`0` &published=`1` !] But, if I have “Éclair” this row is sorted at the end. I tried to add setlocale(LC_COLLATE, 'fr_FR.UTF8', 'fr_FR.UTF-8', 'fr.UTF8', 'fr.UTF-8'); in multitv.class.php line 1263 (before the usort function) but it's doesn't work.