Commit 5648a421 authored by Georg Huhs's avatar Georg Huhs
Browse files

adapted sorting of strukturbericht_designation in suggestions endpoint

parent cdc33a6c
......@@ -524,7 +524,8 @@ def get_suggestions():
# different ones for particular properties can be defined here
default_order = {'_count': 'desc'}
properties_orders = {
'material_name': {"_key": "asc"}
'material_name': {"_key": "asc"},
'strukturbericht_designation': {"_key": "asc"}
property = request.args.get('property')
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