mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Trackster documentation.
This commit is contained in:
@@ -90,7 +90,7 @@ class LibrarySelectionGrid( LibraryListGrid ):
|
||||
class DbKeyColumn( grids.GridColumn ):
|
||||
""" Column for filtering by and displaying dataset dbkey. """
|
||||
def filter( self, trans, user, query, dbkey ):
|
||||
""" Filter by dbkey. """
|
||||
""" Filter by dbkey; datasets without a dbkey are returned as well. """
|
||||
# use raw SQL b/c metadata is a BLOB
|
||||
dbkey = dbkey.replace("'", "\\'")
|
||||
return query.filter( or_( \
|
||||
|
||||
@@ -825,6 +825,9 @@ extend( View.prototype, {
|
||||
label_track.view = this;
|
||||
this.label_tracks.push(label_track);
|
||||
},
|
||||
/**
|
||||
* Remove a track from the view.
|
||||
*/
|
||||
remove_track: function(track) {
|
||||
this.has_changes = true;
|
||||
delete this.tracks[this.tracks.indexOf(track)];
|
||||
|
||||
Reference in New Issue
Block a user