Skip to content

Commit 1559213

Browse files
author
sreeder
committed
add todo comment
1 parent 69656fa commit 1559213

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

odm2api/ODM2/services/readService.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -690,13 +690,12 @@ def getResults(self, ids=None, type=None, uuids=None, actionid=None, simulationi
690690
.all()
691691
]
692692

693+
#TODO does this code do the same thing as the code above?
693694
# sf_list = self.getRelatedSamplingFeatures(rfid=siteid)
694695
# sfids = []
695696
# for sf in sf_list:
696697
# sfids.append(sf.SamplingFeatureID)
697-
698-
699-
698+
700699
query = query.join(FeatureActions).filter(FeatureActions.SamplingFeatureID.in_(sfids))
701700

702701
try:

0 commit comments

Comments
 (0)