Open maslme opened 3 years ago
reading the code this is strange, see https://github.com/georgringer/news/blob/master/Classes/Domain/Repository/NewsRepository.php#L129-L140
which only checks for archived
and active
.
can you debug that?
Okay, I've needed a while to reproduce this. I've forgotten one thing to mention in my description above: The behaviour only occurs, when in the Typoscript Template settings.archiveRestriciton = archived oder active is set. Then this wouldn't be overwritten by the plugin with archiveRestriction = none.
Bug Report
Current Behavior A Plugin with settings.archiveRestriction "keine Einschränkung" display only archived news.
Expected behavior/output All news should be displayed whether they are archived or active.
Environment
Comments Beside that, settings.archiveRestriction = archived and settings.archiveRestriction = active works as expected.