Changeset 5986


Ignore:
Timestamp:
10/11/09 16:38:26 (10 years ago)
Author:
sdonegan
Message:

Updated to handle revised text search

File:
1 edited

Legend:

Unmodified
Added
Removed
  • MILK/trunk/milk_server/milk_server/controllers/browse/discovery.py

    r5950 r5986  
    498498                 
    499499        # NB, htmlfill doesn't handle the checked property correctly, so need 
    500         # to add this explicitly here 
     500        # to add this explicitly here. 
    501501        if 'source' not in self.inputs: 
    502             self.inputs['source'] = 'All' 
     502            self.inputs['source'] = 'All' # Here is where you make "All" the default search type  
     503             
     504        if 'radioSearchType' not in self.inputs: 
     505            self.inputs['radioSearchType'] = 'free' # Here is where you make the free text search the default search type  
    503506         
    504507        return self.savePageAndRender("browse/discovery_search", **self.inputs) 
Note: See TracChangeset for help on using the changeset viewer.