Views Orderby Pinyin

Categories

Component ID

2495465

Component name

Views Orderby Pinyin

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

此小模块给views增加新的排序方式,即汉语拼音排序。
使用方法:
在FIELDS里添加需要按汉语拼音排序的字段(可以排除显示),在SORT CRITERIA里添加:Content: FIELD ORDER BY PINYIN,然后选择FIELDS里的需排序字段。

This module adds a new sorting criteria to Views: Content: FIELD ORDER BY PINYIN. On the config form, you can select which field to sort by Pinyin. It uses MySQL built-in function: CONVERT ( *** USING GBK). So it requires MySQL back-end database.