Commit c7cf2c5e authored by generalredneck's avatar generalredneck

[#558668] Applied patch contributed by heatherann.

This will fix the issue with "An" not being ignorned. It will also add a few french words.
parent e5f124a1
......@@ -105,7 +105,7 @@ function _views_natural_sort_store_node($node) {
*/
function _views_natural_sort_filter_content($content) {
return preg_replace(array(
'/^(The|A)\s/i',
'/^(The|A|An|Le|La|L\'|Un|Une)\s/i',
'/\s(and|of|or)\s/i',
), array(
'',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment