Open rsparker-utah opened 1 month ago
Quick fyi, it looks like this formatting issue is happening in other table cells within the report, for example: I've updated the issue name due to this discovery.
@rsparker-utah I deployed this to production today. Do you want to validate and close this after testing it?
We've noticed a bug in the "Site Contacts" section of the generated Inventory Report where if there is more than one listed contact, the label for the "Organization" field is being wrapped such that there is a dangling "n", for example:
This dangling "n" does not seem to happen if there is only one contact.
From what I can tell, this bug seems to have been introduced sometime after 8/29/2024 i.e., the formatting of the "Organization" field in Inventory Reports with multiple contacts generated on or before 8/29/2024 are fine, but Inventory Reports generated after 8/29/2024 are showing the dangling "n". As an example, I compared an Inventory report for https://uic-inventory.deq.utah.gov/review/site/32/inventory/32 generated on 8/29/2024 with one that I re-generated on 10/16/2024. The report generated on 8/29/2024 does not have the dangling "n" and the report generated on 10/16/2024 does have the dangling "n":
Would it be possible to adjust the formatting of the "Organization" field in the "Site Contacts" section table for Inventory Reports containing more than one contact so that the "n" is no longer dangling?