Apperance: Remove obsolete variables and a filter
Remove the variable multi_select_item_properties and the get_encoded_parameter custom filter. Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com>
This commit is contained in:
@@ -29,14 +29,6 @@ def get_collections():
|
||||
return Collection.get_all()
|
||||
|
||||
|
||||
@register.filter
|
||||
def get_encoded_parameter(item, parameters_dict):
|
||||
result = {}
|
||||
for key, value in parameters_dict.items():
|
||||
result[key] = resolve_attribute(obj=item, attribute=value)
|
||||
return dumps(result)
|
||||
|
||||
|
||||
@register.filter
|
||||
def get_type(value):
|
||||
return force_text(type(value))
|
||||
|
||||
Reference in New Issue
Block a user