Commit cdc33a6c authored by Georg Huhs's avatar Georg Huhs
Browse files

Added quantities (properties) to the suggestions endpoint

parent 68e68257
......@@ -512,7 +512,13 @@ def get_author(material_id, calc_id, author_id):
@api.route('/suggestions', methods=['GET'])
def get_suggestions():
suggestion_properties = ['material_name', 'structure_type', 'space_group_number', 'code_name']
suggestion_properties = ['material_name',
'structure_type', 'system_type',
'crystal_system', 'space_group_number',
# define sorting order,
# default is document count descending
# different ones for particular properties can be defined here
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment