Skip to content
Commits on Sep 27, 2009
  1. Merge branch 'eric/master'

    Conflicts:
    	lib/sortable_table/app/controllers/application_controller.rb
    
    Resolution: eric and I had the same logical code.  I reorganized it and
    added some whitespace.  It seems everybody who forked this project did
    it to fix these 4 or 5 lines of code :)
    committed Sep 26, 2009
  2. Merge branch 'jdwyah/master'

    Conflicts:
    	lib/sortable_table/app/controllers/application_controller.rb
    
    Resulution: solved the same problem but chose the slimmest solution
    committed Sep 26, 2009
  3. Merge branch 'eugenebolshakov/master'

    Conflicts:
    	lib/sortable_table/app/controllers/application_controller.rb
    
    Resolution: I kept Eugene's indenting but my code.
    committed Sep 26, 2009
Commits on Sep 9, 2009
  1. @eugenebolshakov
  2. @eugenebolshakov
  3. @eugenebolshakov
Commits on Jul 10, 2009
  1. not requiring Rake in gemspec

    committed Jul 10, 2009
  2. touching gemspec

    committed Jul 10, 2009
Commits on Jun 27, 2009
  1. removing .specification file

    Now that Rails is semi-competent at generating these.
    committed Jun 26, 2009
Commits on May 28, 2009
  1. @jdwyah

    This check was unnecessary and prevented usefully overriding default_…

    …sort_column, since params[:sort] was null in the default case.
    jdwyah committed May 28, 2009
  2. @jdwyah
Commits on May 5, 2009
  1. protecting controller instance methods

    Before this commit several sortable_table methods were exposed
    as public controller actions.
    committed May 5, 2009
Commits on Apr 8, 2009
Commits on Mar 30, 2009
  1. @eric
Commits on Mar 14, 2009
  1. not swapping direction each time, only on re_sort

    (tests pass)
    committed Mar 13, 2009
  2. fixing name of test case

    committed Mar 13, 2009
  3. @winston

    The join_array_and_hash_values method should use hash keys instead of…

    … hash values.
    
    The pop_hash_from_list method should take in the original args array from the caller as parameter and not wrap that args array in another array.
    winston committed with Feb 10, 2009
  4. @winston

    To overwrite the default sort order, pass a hash {:default=>"ascendin…

    …g"} to the sort_order method.
    winston committed with Feb 10, 2009
  5. Allowing attributes to be sorted in reverse

    This sorts the regular way:
      sortable_attributes :name => 'users.name'
    And this will sort in logical reverse order (both initially
    and after the param direction switches):
      sortable_attributes :name => 'users.name reverse'
    committed Mar 13, 2009
Commits on Mar 13, 2009
  1. fixed that invalid sort params would pass through

    If an invalid params[:sort] was given then the default attribute
    would be used for sorting but if it were part of a hash then the
    key would be used rather than the mapped value.
    committed Mar 13, 2009
  2. Using a sensible default if opts[:name] is absent

    It's often the case that something like this:
    
      sortable_table_header :name => 'Phone', :sort => 'phone'
    
    could be reduced to just:
    
      sortable_table_header :sort => 'phone'
    
    and the text could be easily derived.
    committed Mar 13, 2009
  3. fixed error raised by all-hashed columns

    If all of the sortable columns specified were in the form of a hash
    the code was not able to find and map a default attribute.  It ended
    up passing a hash key straight into the database.
    committed Mar 12, 2009
Commits on Feb 27, 2009
  1. bumping the gemspec to 0.0.6

    Jason Morrison committed Feb 27, 2009
  2. Supporting complex attributes in sortable_attributes (merging patch f…

    …rom Eugene Bolshakov)
    Jason Morrison committed Feb 27, 2009
  3. @croaky

    bumping the gemspec to 0.0.5

    croaky committed Feb 27, 2009
Commits on Feb 11, 2009
  1. @jyurek
Commits on Feb 5, 2009
  1. @jyurek
  2. @jyurek
Commits on Feb 4, 2009
  1. @jferris

    Added failure path tests for the macros, added some more sanity check…

    …s to the macros, and fixed some bugs that resulted in bogus tests being generated
    jferris committed Feb 4, 2009
Commits on Jan 3, 2009
  1. @croaky
Something went wrong with that request. Please try again.