- Issue created by @beautownsend
- Status changed to Needs work
about 1 year ago 12:25pm 7 October 2023 - First commit to issue fork.
- πΊπ¦Ukraine AstonVictor
Hi there,
I was able to reproduce it. I had different search results on the
/search/node
page.I'm not sure why we should hide the setting on the node edit page because it's possible to have different settings for different node types after enabling the module.
e.g. article has enabled setting and page has disabled setting. after enabling the module, both settings will have the same values.I prepared a simple MR to remove the form alter.
thanks a lot
- π¬π§United Kingdom adamps
adamps β changed the visibility of the branch 3392273-cannot-toggle-display to hidden.
- π¬π§United Kingdom adamps
We should not just remove this code - it is there for a reasonπ!
the Display settings vertical tab is no longer displayed on content type edit pages
This is working as designed. The hidden setting has no effect with this module. Instead the submitted display is controlled using manage display settings.
The "steps to reproduce" is missing essential information. What do I need to do to see the problem? If there is a problem relating to search then please describe what search to do.
- πΊπ¦Ukraine AstonVictor
You should just visit
/search/node
page that shows a few results. Enabling/disabling the 'Display author and date information' influences the output.The search module uses its own templates (
search-result.html.twig
) for rendering results. So, the output actually depends on the submitted config of the node type. - π¬π§United Kingdom adamps
Thanks, I see it now.
The long term goal of this module is that
display_submitted
will be removed from Core in NodeTypeForm, node.schema.yml, andNodeTypeInterface::displaySubmitted()
,setDisplaySubmitted()
. The setting has no effect once the display of submitted is controlled by manage display settings like other fields.So control of the search output will need to be done in a different way. Maybe it could be added to /admin/config/search/pages/manage/node_search?
- π³πΏNew Zealand quietone
Changes are made on on 11.x (our main development branch) first, and are then back ported as needed according to our policies.