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.
{% if info %}
<p>{{ info }}</p>
{% endif %}
{% if info %}
<p>{{ info }}</p>
{% endif %}
Comments
Comment #2
seppelM CreditAttribution: seppelM commentedComment #3
cilefen CreditAttribution: cilefen commentedComment #4
jhodgdonPlease provide more information. Are you using a custom theme or a module that overrides the theming of this page? Because I don't know of anyone else having this problem, and the core Search module tests are working fine.
Information that would be useful:
- Which theme are you using and does it have any search templates or preprocess functions running?
- Do you have any modules running that have preprocessing for search results?
- What is in your nodes and what is in the markup for the search result output?
If you can provide this information we may be able to help you investigate the problem, but this is probably not a Drupal Core bug, but really a support request because it is probably due to a custom/contrib module/theme.
So probably you should try to get some support elsewhere... although you can create issues in Drupal Core and mark the category as "support request", we don't really handle support requests in the Drupal Core issue queue as a regular practice (that option is mostly there for filing support issues for contributed modules and themes).
There are several support options listed if you click on "Support" at the top of Drupal.org, which will take you to:
http://drupal.org/support
There you can find out about the Drupal IRC channels, and the Forums, which are our two main support mechanisms in the Drupal community. You might also try http://drupal.stackexchange.com/
I'll leave this open for a few days in case you can provide information that we can use to try to reproduce the problem using only Drupal Core, but if this information is not provided or it is a problem with a non-Core module/theme, then we'll close this issue.
Good luck with your issue!
Comment #5
seppelM CreditAttribution: seppelM commentedMy bad! The info content problem: I forgot about the "Display author and date information" [display_submitted] option, which was disabled for all content types...
I haven't tested it in another D8 instance in this case, and had a typo in the preprocess hook while trying to debug.
-----
Please mark this issue as "closed (works as designed)", if filtering an empty info in search-result.html.twig (in core/modules/search, core/themes/classy) has to be done in custom themes/modules.
Comment #6
cilefen CreditAttribution: cilefen commented