Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The recently added support for multiple tags (#1305402: Single image URL for image field with multiple images) has a problem - the values end up being alphabetically sorted before they're displayed, so the desired order is changed.
Comment | File | Size | Author |
---|---|---|---|
#2 | metatag-n2281833-2.patch | 998 bytes | DamienMcKenna |
Comments
Comment #1
DamienMcKennaOk, so they aren't strictly output in alphabetical order.
Input:
Output:
Uhm..
Comment #2
DamienMcKennaThis needs some testing.
Comment #3
haysuess CreditAttribution: haysuess commentedBeautiful, can confirm patch in #2 works perfectly. Thanks! :)
Comment #4
DamienMcKenna@hayseuss: Thanks for reviewing the patch, glad it worked correctly. I've committed this fix.