Skip to content

Commit

Permalink
Fix TypeError when applying format to interim field result (#2438)
Browse files Browse the repository at this point in the history
  • Loading branch information
xispa authored Nov 26, 2023
1 parent 42c6750 commit 61dfe43
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/bika/lims/browser/analyses/view.py
Original file line number Diff line number Diff line change
Expand Up @@ -1155,6 +1155,7 @@ def get_formatted_interim(self, interim):
values = [formatDecimalMark(value, self.dmk) for value in values]

# return the values as a single string
values = filter(None, values)
return "<br/>".join(values)

def _folder_item_unit(self, analysis_brain, item):
Expand Down

0 comments on commit 61dfe43

Please sign in to comment.