Skip to content

OBPIH-7246 Product and Transaction date filters for inventory transactions report#5249

Merged
awalkowiak merged 8 commits intoOBPIH-7241from
OBPIH-7246
May 13, 2025
Merged

OBPIH-7246 Product and Transaction date filters for inventory transactions report#5249
awalkowiak merged 8 commits intoOBPIH-7241from
OBPIH-7246

Conversation

@SebastianLib
Copy link
Collaborator

✨ Description of Change

Link to GitHub issue or Jira ticket:

Description:


📷 Screenshots & Recordings (optional)

@github-actions github-actions bot added domain: frontend Changes or discussions relating to the frontend UI domain: l10n Changes or discussions relating to localization & Internationalization labels May 13, 2025
}
// Prevents automatic data fetching when resetInitialFetch is true,
// allowing fetch only on submit button click
if (resetInitialFetch && setResetInitialFetch) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

why do we check setResetInitialFetch? Isn't resetInitialFetch enough?

Copy link
Collaborator

Choose a reason for hiding this comment

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

If resetInitialFetch blocks from the initial fetch, then the naming isn't appropriate

@SebastianLib SebastianLib requested a review from alannadolny May 13, 2025 11:42
Comment on lines +51 to +53
if (setShouldFetch) {
setShouldFetch(true);
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

btw - you can use the following syntax: setShouldFetch?.(true)

@awalkowiak awalkowiak merged commit e52bf96 into OBPIH-7241 May 13, 2025
5 of 6 checks passed
@awalkowiak awalkowiak deleted the OBPIH-7246 branch May 13, 2025 12:49
alannadolny pushed a commit that referenced this pull request May 13, 2025
alannadolny pushed a commit that referenced this pull request May 13, 2025
alannadolny pushed a commit that referenced this pull request May 14, 2025
alannadolny pushed a commit that referenced this pull request May 19, 2025
alannadolny pushed a commit that referenced this pull request May 21, 2025
awalkowiak pushed a commit that referenced this pull request May 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

domain: frontend Changes or discussions relating to the frontend UI domain: l10n Changes or discussions relating to localization & Internationalization

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants