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

limit displayed days #2030

Merged
merged 3 commits into from
Jul 18, 2024
Merged

Conversation

petrjasek
Copy link
Member

based on the interval picker

SDESK-7335

based on the interval picker

SDESK-7335
@petrjasek petrjasek changed the title limit displayed days group limit displayed days Jul 17, 2024
@petrjasek petrjasek added this to the 2.7.1 milestone Jul 17, 2024
@@ -47,7 +52,7 @@ export const orderedEvents = createSelector(
}];
}

const dateRange = getSearchDateRange(search, appConfig.start_of_week);
const dateRange = getSearchDateRange(search, appConfig.start_of_week, viewInterval);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will this be required for selectors/planning.ts as well, so the Planning view is capped to the same date range logic?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep makes sense to be consistent

@petrjasek petrjasek merged commit 1fb931f into superdesk:release/2.7 Jul 18, 2024
12 checks passed
@petrjasek petrjasek deleted the fix-date-limit branch July 18, 2024 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants