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

Feature request: Add time restriction #184

Open
christianbltr opened this issue Aug 25, 2023 · 0 comments
Open

Feature request: Add time restriction #184

christianbltr opened this issue Aug 25, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@christianbltr
Copy link
Member

In some use cases it would be helpful to be able restrict the indexed elements to those which fall into a certain time range based on the current date similar to the "timeRestriction" setting in news:

https://docs.typo3.org/p/georgringer/news/main/en-us/Reference/TypoScript/PluginSettings.html#time-limit-low-timerestriction

An idea for the implementation would be:

  • Add Two date fields in the indexer configuration ("timeRestrictionLow", "timeRestrictionHigh")
  • Adopt each indexer to check if the date of an indexed element falls into the time restriction
  • Update documentation
  • Update ke_search_hooks to show how to use this new option

see also: #177

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant