Skip to content

Commit

Permalink
Get Specs_range from Publication Specificatio
Browse files Browse the repository at this point in the history
Getting the specs from publication specification instead of analysis Specification solves this issue (senaite/senaite.impress#77)
  • Loading branch information
siyamalan authored Jul 14, 2019
1 parent aa7b09d commit f657bfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bika/lims/content/analysisrequest.py
Original file line number Diff line number Diff line change
Expand Up @@ -1908,7 +1908,7 @@ def getResultsRange(self):
:rtype: dict
"""
specs_range = []
specification = self.getSpecification()
specification = self.getPublicationSpecification()
if specification:
specs_range = specification.getResultsRange()
specs_range = specs_range and specs_range or []
Expand Down

0 comments on commit f657bfd

Please sign in to comment.