Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added some features to sortable_columns #1

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Commits on Feb 8, 2011

  1. added ability to define sortable_methods on an object, letting you so…

    …rt by columns plus named methods
    Al Davidson committed Feb 8, 2011
    Configuration menu
    Copy the full SHA
    e9f7340 View commit details
    Browse the repository at this point in the history
  2. scoped method call

    Al Davidson committed Feb 8, 2011
    Configuration menu
    Copy the full SHA
    4c63a17 View commit details
    Browse the repository at this point in the history
  3. can now add sortable_methods :method_1, :method_2 on an AR class, to …

    …allow sorting by methods (not just columns)
    Al Davidson committed Feb 8, 2011
    Configuration menu
    Copy the full SHA
    4e49be6 View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2011

  1. sort_params now preserves existing params on links

    Al Davidson committed Feb 10, 2011
    Configuration menu
    Copy the full SHA
    07e81a8 View commit details
    Browse the repository at this point in the history
  2. add before_filter to ApplicationController so that it automatically p…

    …reserves params
    Al Davidson committed Feb 10, 2011
    Configuration menu
    Copy the full SHA
    d82938b View commit details
    Browse the repository at this point in the history
  3. fixed bug with nil sortable_methods

    Al Davidson committed Feb 10, 2011
    Configuration menu
    Copy the full SHA
    a308e76 View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2011

  1. took out debug code

    Al Davidson committed Feb 11, 2011
    Configuration menu
    Copy the full SHA
    9d02664 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2011

  1. no longer deletes sort_by and order from params in the sortable_order…

    … call - this enables a view template to interrogate those params and e.g. display appropriate icons
    Al Davidson committed Nov 3, 2011
    Configuration menu
    Copy the full SHA
    5758b9c View commit details
    Browse the repository at this point in the history