mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-28 02:58:18 +08:00
Sort Workflow list by update time instead of create time
This commit is contained in:
@@ -57,7 +57,7 @@
|
||||
<template v-slot:cell(bookmark)="row">
|
||||
<b-form-checkbox v-model="row.item.show_in_tool_panel" @change="bookmarkWorkflow(row.item)" />
|
||||
</template>
|
||||
<template v-slot:cell(create_time)="data">
|
||||
<template v-slot:cell(update_time)="data">
|
||||
<UtcDate :date="data.value" mode="elapsed" />
|
||||
</template>
|
||||
<template v-slot:cell(execute)="row">
|
||||
@@ -117,8 +117,8 @@ export default {
|
||||
sortable: true,
|
||||
},
|
||||
{
|
||||
label: "Created",
|
||||
key: "create_time",
|
||||
label: "Updated",
|
||||
key: "update_time",
|
||||
sortable: true,
|
||||
},
|
||||
{
|
||||
|
||||
@@ -4498,8 +4498,8 @@ class UCI(object):
|
||||
|
||||
class StoredWorkflow(HasTags, Dictifiable, RepresentById):
|
||||
|
||||
dict_collection_visible_keys = ['id', 'name', 'create_time', 'published', 'deleted']
|
||||
dict_element_visible_keys = ['id', 'name', 'create_time', 'published', 'deleted']
|
||||
dict_collection_visible_keys = ['id', 'name', 'create_time', 'update_time', 'published', 'deleted']
|
||||
dict_element_visible_keys = ['id', 'name', 'create_time', 'update_time', 'published', 'deleted']
|
||||
|
||||
def __init__(self):
|
||||
self.id = None
|
||||
@@ -4507,6 +4507,7 @@ class StoredWorkflow(HasTags, Dictifiable, RepresentById):
|
||||
self.name = None
|
||||
self.slug = None
|
||||
self.create_time = None
|
||||
self.update_time = None
|
||||
self.published = False
|
||||
self.latest_workflow_id = None
|
||||
self.workflows = []
|
||||
|
||||
Reference in New Issue
Block a user