Ensure the node list is sorted
Otherwise the node entries could come back in an arbitrary order; since this is an ordered list of dictionaries that might not be expected by the API consumers, so ensure it's always sorted.
This commit is contained in:
parent
4b36753f27
commit
05a316cdd6
|
@ -236,6 +236,7 @@ def get_list(
|
|||
):
|
||||
node_list = []
|
||||
full_node_list = zkhandler.children("base.node")
|
||||
full_node_list.sort()
|
||||
|
||||
if is_fuzzy and limit:
|
||||
# Implicitly assume fuzzy limits
|
||||
|
|
Loading…
Reference in New Issue