#21372showDomainNameWithTitle doesn`t respect hidden records
Description
With options.pagetree.showDomainNameWithTitle you can append the first domain record to pagetree if is_siteroot is checked.
But this option does not respect hidden records, so it is also appended if the records are hidden.
I haven`t checked v4.2 and 4.3, but I think there it is the same.
Steps to reproduce:
- check “is_siteroot“
- add a domain record and hide it
- add options.pagetree.showDomainNameWithTitle to userTS
- see sth. like Homepage [www.example.com]
- apply attached patch
- see again. [www…] should be gone
(issue imported from #M15375)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.