mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-17 22:08:35 +00:00
parent
2606c2d9a7
commit
06a6a0a332
@ -64,7 +64,7 @@ class SnapshotHandler:
|
||||
controller = Controller.instance()
|
||||
project = controller.get_project(request.match_info["project_id"])
|
||||
snapshots = [s for s in project.snapshots.values()]
|
||||
response.json(sorted(snapshots, key=lambda s: s.created_at))
|
||||
response.json(sorted(snapshots, key=lambda s: (s.created_at, s.name)))
|
||||
|
||||
@Route.delete(
|
||||
r"/projects/{project_id}/snapshots/{snapshot_id}",
|
||||
|
Loading…
Reference in New Issue
Block a user