Skip to content

Commit

Permalink
#34: Add filters
Browse files Browse the repository at this point in the history
  • Loading branch information
keiranjprice101 committed Aug 29, 2019
1 parent 013adbf commit b7648e2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/resources/table_endpoints/table_endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ class InstrumentsFacilityCycles(Resource):
@requires_session_id
@queries_records
def get(self, id):
return list(map(lambda x: x.to_dict(), get_facility_cycles_for_instrument(id))), 200
return list(
map(lambda x: x.to_dict(), get_facility_cycles_for_instrument(id, get_filters_from_query_string()))), 200


class InstrumentsFacilityCyclesCount(Resource):
Expand Down

0 comments on commit b7648e2

Please sign in to comment.