removed affiliation field from the search_fields option
authorRami Rauch <rrauch@stanford.edu>
Thu, 4 Sep 2008 20:02:39 +0000 (20:02 +0000)
committerRami Rauch <rrauch@stanford.edu>
Thu, 4 Sep 2008 20:02:39 +0000 (20:02 +0000)
htswfrontend/htswfrontend/fctracker/models.py

index a31582f1fca7c640644c6778496b4d2669a8e7d1..d3b2bb39805c044f80f96639dabed8957499abd4 100644 (file)
@@ -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')