Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

News records from disabled pages are shown in list view #2494

Open
weberdigital opened this issue Jun 14, 2024 · 1 comment
Open

News records from disabled pages are shown in list view #2494

weberdigital opened this issue Jun 14, 2024 · 1 comment

Comments

@weberdigital
Copy link

Bug Report

Current Behavior
We have a hierarchical folder structure for the news records. In our news list plugin we selected the top most folder and activate the recursive folder traversal for loading news records. After we now deactivated one its child folders, the news in this child folder are still shown in list view.

Expected behavior/output
News records from a deactivated folder should never be displayed.

Environment

  • TYPO3 version(s): 12.4.16
  • news version: 11.4.1
  • Is your TYPO3 installation set up with Composer (Composer Mode): no
  • OS: Linux

Possible Solution
Remove this line of source code: https://github.com/georgringer/news/blob/11.4.1/Classes/Database/QueryGenerator.php#L48. This is the simplest solution. But maybe the removing of restrictions is important for another feature of the extension, that I don't know of. So this should be checked, before doing the change.

@georgringer georgringer added Confirmed v13 Next major version labels Nov 22, 2024
@georgringer
Copy link
Owner

as this is a breaking change and the core is also inconsistent I leave this open for the next major version

@georgringer georgringer added Bug and removed v13 Next major version labels Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants