fix(chalice): working on a fix for reversed user-journey (reversed links) (#3028)
This commit is contained in:
parent
118412d4ab
commit
c4c5fcc2b2
1 changed files with 1 additions and 1 deletions
|
|
@ -90,7 +90,7 @@ def __transform_journey(rows, reverse_path=False):
|
|||
links.append(link)
|
||||
|
||||
return {"nodes": nodes_values,
|
||||
"links": sorted(links, key=lambda x: (x["source"], x["target"]), reverse=False)}
|
||||
"links": sorted(links, key=lambda x: (x["source"], x["target"]), reverse=reverse_path)}
|
||||
|
||||
|
||||
JOURNEY_TYPES = {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue