~dylanmccall/harvest/gsoc-client-stuff

« back to all changes in this revision

Viewing changes to harvest/opportunities/filters.py

  • Committer: Dylan McCall
  • Date: 2010-07-04 00:31:49 UTC
  • Revision ID: dylanmccall@gmail.com-20100704003149-ept37lczfgl6ilmr
Implemented EditField editing in Javascript!

Less arbitrary (though less exciting) defaults in opportunities/filters.py.

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
                    OppListFilter('list', name='Selected')
47
47
                ], name='Opportunities' )
48
48
            ],
49
 
            default_parameters = { 'pkg' : 'name,set',
50
 
                                   'pkg:name' : 'ged',
51
 
                                   'pkg:set' : 'ubuntu-desktop' }
 
49
            default_parameters = { 'pkg' : 'set',
 
50
                                   'pkg:set' : 'ubuntu-desktop',
 
51
                                   'opp' : 'featured' }
 
52
            #TODO: change to no defaults, detect that case in view and templates and provide helpful instructions in the results pane.
52
53
        )
53
54