Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Taxonomy Order by custom does not work as expected with accented words (Spanish special characters)

Started by Jose 5 years ago · 0 replies · 452 views
5 years ago

Hello
In Spanish, cars = automóviles as you can see the o is accented with special character over it. If I use it, no matter which place I place the word, it goes to the end, if I use normal o not ó the custom ordering works fine, but it will be a misspelling of the word in Spanish, Can I use accented words in taxonomies and how can I order them well?
Thanks

YAML
taxonomy: 
    productos: aceites
content:
    items:
       - '@taxonomy.vehículos': automóviles
       - '@taxonomy.vehículos': camiones
       - '@taxonomy.vehículos': moto
    order:
        by: custom
        custom:
          - automóviles
          - moto
          - camiones

Please note that It works fine if I place the right order in items and I delete all the order instructions, despite the accented character, but I wonder why the order does not work with accented characters.
Regards.

Suggested topics

Topic Participants Replies Views Activity
General · by jeremycherfas, 1 week ago
5 198 7 hours ago
General · by lynbor, 6 days ago
2 131 3 days ago
General · by Old Man Umby, 1 week ago
1 105 1 week ago
General · by Sebastian, 2 weeks ago
1 130 2 weeks ago
General · by Andy Miller, 3 weeks ago
0 252 3 weeks ago