From: Rami Rauch Date: Thu, 4 Sep 2008 20:02:39 +0000 (+0000) Subject: removed affiliation field from the search_fields option X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=htsworkflow.git;a=commitdiff_plain;h=57d42998a50c99fad938b1098dd02354a7c1b2f3 removed affiliation field from the search_fields option --- diff --git a/htswfrontend/htswfrontend/fctracker/models.py b/htswfrontend/htswfrontend/fctracker/models.py index a31582f..d3b2bb3 100644 --- a/htswfrontend/htswfrontend/fctracker/models.py +++ b/htswfrontend/htswfrontend/fctracker/models.py @@ -187,7 +187,9 @@ class Library(models.Model): date_hierarchy = "creation_date" save_as = True save_on_top = True - search_fields = ['affiliations__name','affiliations__contact','library_name', 'library_id','made_by','made_for','antibody__antigene','antibody__catalog','antibody__antibodies','antibody__source','cell_line__cellline_name','library_species__scientific_name','library_species__common_name','library_species__use_genome_build'] + ##search_fields = ['library_id','library_name','affiliations__name','affiliations__contact','made_by','made_for','antibody__antigene','antibody__catalog','antibody__antibodies','antibody__source','cell_line__cellline_name','library_species__scientific_name','library_species__common_name','library_species__use_genome_build'] + search_fields = ['library_id','library_name','antibody__antigene','antibody__catalog','antibody__antibodies\ +','antibody__source','cell_line__cellline_name','library_species__scientific_name','library_species__common_name','library_species__use_genome_build'] list_display = ('affiliation','library_id', 'library_name','experiment_type','replicate','antibody_name','cell_line','made_by','creation_date') list_display_links = ('library_id', 'library_name') list_filter = ('experiment_type','affiliations','library_species','made_for', 'made_by','replicate')