Skip to content
Snippets Groups Projects
Commit aa1d24b6 authored by Ioan Vancea's avatar Ioan Vancea
Browse files

Added a temporary fix for the case when there are more than 100 calcs per material

parent b1c2421f
No related branches found
No related tags found
No related merge requests found
...@@ -100,7 +100,7 @@ def get_cell(material_id, cell_id): ...@@ -100,7 +100,7 @@ def get_cell(material_id, cell_id):
# Calc # Calc
@api.route('/materials/<int:material_id>/calculations', methods=['GET']) @api.route('/materials/<int:material_id>/calculations', methods=['GET'])
@json @json
@paginate('calc', m_calc_schema, max_per_page=100) @paginate('calc', m_calc_schema, max_per_page=500)
def get_calcs(material_id): def get_calcs(material_id):
# material = Material.query.get_or_404(material_id) # material = Material.query.get_or_404(material_id)
# return material.calc # return material.calc
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment