projects
/
htsworkflow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96f3f3f
)
enable sort of library view by descending library_id
author
Diane Trout
<diane@caltech.edu>
Fri, 13 Feb 2009 23:35:08 +0000
(23:35 +0000)
committer
Diane Trout
<diane@caltech.edu>
Fri, 13 Feb 2009 23:35:08 +0000
(23:35 +0000)
htsworkflow/frontend/samples/views.py
patch
|
blob
|
history
diff --git
a/htsworkflow/frontend/samples/views.py
b/htsworkflow/frontend/samples/views.py
index 4763f391dcc0fbd7bc50c7a8dedffb5827f93776..f36a0c3060932af86a43d8889758286f532fe2c8 100644
(file)
--- a/
htsworkflow/frontend/samples/views.py
+++ b/
htsworkflow/frontend/samples/views.py
@@
-22,7
+22,7
@@
def create_library_list():
Create a list of libraries that includes how many lanes were run
"""
library_list = []
- for lib in Library.objects.
all(
):
+ for lib in Library.objects.
order_by('-library_id'
):
summary = {}
summary['library_id'] = lib.library_id
summary['library_name'] = lib.library_name