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 template committed in #1939062: Convert theme_item_list() to Twig was missing logic to only display the empty text when no results were found. This made #1926344: Consolidate search-result.html.twig and search-results.html.twig break HEAD.
This follow-up issue is to fix the bug in the template and add more test coverage for the relatively new functionality added by #2120807: Add empty option to item_list.
Comment | File | Size | Author |
---|---|---|---|
#1 | 2191323-1.patch | 1.63 KB | star-szr |
#1 | 2191323-1-testonly.patch | 1.15 KB | star-szr |
Comments
Comment #1
star-szrHere we go.
Comment #2
webchickHeh. I actually saw that last night, but thought it was some Twig-ism I wasn't familiar with. Oops. :P
Comment #3
jhodgdonLooks pretty straightforward to me. Assuming the testbot agrees that TestOnly fails and Patch passes, this should be good to go.
Comment #4
joelpittetRTBC++
Comment #6
webchickCommitted and pushed to 8.x. Thanks!
Comment #7
jibranNow I can count in french because of #Drupal core. Thank you @Cottser.
https://twitter.com/JibranIjaz/status/431895551928315904