Loan/Gift preparations without count display as NaN on preparation selecting dialog #3881
Labels
1 - Bug
Incorrect behavior of the product
2 - Interactions
Issues that are related to interactions, including loans, exchanges, gifts, and more
Milestone
Describe the bug
If a preparation doesn't have a count entered, it will show as NaN in the Preparations dialog for loans and gifts. It is also falsely linked.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It should probably default to 1 in the available column and 0 for unavailable. Currently, you can add a preparation to the loan or gift without a count. Count isn't a required field, so this makes sense, but I'm not sure if we want that.
Screenshots
Screen.Recording.2023-08-01.at.9.27.55.AM.mov
Desktop:
Database Name: archireef
The text was updated successfully, but these errors were encountered: