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

Show inventory history for pre-event read #4469

Merged
merged 2 commits into from
Jul 7, 2024
Merged

Conversation

dorner
Copy link
Collaborator

@dorner dorner commented Jun 21, 2024

Fix for #4433 .

This will show inventory history regardless of whether the time selected had events active or not. If the time is before events were active, it will use inventory item versions (using paper_trail).

@dorner dorner requested a review from cielf June 21, 2024 19:55
@cielf cielf requested a review from awwaiid June 23, 2024 01:18
@cielf
Copy link
Collaborator

cielf commented Jun 23, 2024

Hey @awwaiid I'll be reviewing this functionally tomorrow (hopefully pre-meeting). I fully expect it to work. Could you do a technical review in parallel?

@cielf
Copy link
Collaborator

cielf commented Jun 23, 2024

Looks like it works, ish-- the totals are wrong, and they are wrong for everyone on the production branch as well - i suspect it's just showing the current total inventory and that it has always been wrong but haven't looked into it. That is out of scope for this issue, I guess, but I would not be at all averse to including a fix for that in. (but am adding a proto issue)

@dorner
Copy link
Collaborator Author

dorner commented Jun 23, 2024

Fixed for the events_read cases (both within event time and before it).

@cielf
Copy link
Collaborator

cielf commented Jun 24, 2024

LGTM. Waiting for @awwaiid's review.

Copy link
Collaborator

@awwaiid awwaiid left a comment

Choose a reason for hiding this comment

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

Great!

@awwaiid awwaiid merged commit 89b56e4 into main Jul 7, 2024
39 checks passed
@awwaiid awwaiid deleted the 4433-inventory-history branch July 7, 2024 14:18
Copy link
Contributor

github-actions bot commented Jul 7, 2024

@dorner: Your PR Show inventory history for pre-event read is part of today's Human Essentials production release: 2024.07.07.
Thank you very much for your contribution!

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.

3 participants