Commit 0439ca0f authored by Aron Gergely's avatar Aron Gergely
Browse files

API /attribute/ resource now listens to uniqued attributes instead of prettytext

parent c47b506c
......@@ -65,7 +65,7 @@ def getattributes(attribute_name, safetext=False):
"""Returns available values for a given attribute name, separated by semicolons"""
result= tree()
attributes = Attribute.query.filter(\
attributes = Attribute.query.filter(Attribute.uniqueid==attribute_name).\
result[attribute_name] = ";".join([ for attribute in attributes])
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