Skip to content

Commit

Permalink
Merge branch 'add-stream-categories-to-dashboard-widgets' of github.c…
Browse files Browse the repository at this point in the history
…om:Graylog2/graylog2-server into add-stream-categories-to-dashboard-widgets
  • Loading branch information
zeeklop committed Sep 4, 2024
2 parents 214d17d + 8f9c033 commit bdde0e7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ private Query normalize(final Query query,
@Override
public Search preValidation(Search search, SearchUser searchUser, ExecutionState executionState) {
final Search searchWithStreams = search
.addStreamsToQueriesWithoutStreams(() -> searchUser.streams().loadMessageStreamsWithFallback())
.addStreamsToQueriesWithCategories(streamCategoryMapper, searchUser)
.addStreamsToSearchTypesWithCategories(streamCategoryMapper, searchUser);
.addStreamsToSearchTypesWithCategories(streamCategoryMapper, searchUser)
.addStreamsToQueriesWithoutStreams(() -> searchUser.streams().loadMessageStreamsWithFallback());
final var now = referenceDateFromOverrideOrNow(executionState);
final var normalizedSearch = searchWithStreams.applyExecutionState(firstNonNull(executionState, ExecutionState.empty()))
.withReferenceDate(now);
Expand Down

0 comments on commit bdde0e7

Please sign in to comment.