~ubuntu-branches/ubuntu/precise/horizon/precise-updates

« back to all changes in this revision

Viewing changes to horizon/tables/actions.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2012-03-20 14:49:24 UTC
  • mfrom: (1.1.11)
  • Revision ID: package-import@ubuntu.com-20120320144924-s8rpema4nnko6oeg
Tags: 2012.1~rc1-0ubuntu1
New upstream release. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
285
285
        A string representing the name of the request parameter used for the
286
286
        search term. Default: ``"q"``.
287
287
    """
288
 
    method = "GET"
 
288
    # TODO(gabriel): The method for a filter action should be a GET,
 
289
    # but given the form structure of the table that's currently impossible.
 
290
    # At some future date this needs to be reworked to get the filter action
 
291
    # separated from the table's POST form.
 
292
    method = "POST"
289
293
    name = "filter"
290
294
 
291
295
    def __init__(self, verbose_name=None, param_name=None):