Permalink
Browse files

table-plus was including the page number in the sort URL.

  • Loading branch information...
1 parent c36ce39 commit 20a3ce0a3831294d44970dad8111ea1d4ed8dd76 @bryanlarsen bryanlarsen committed Apr 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 hobo_rapid/taglibs/plus/table_plus.dryml
View
2 hobo_rapid/taglibs/plus/table_plus.dryml
@@ -41,7 +41,7 @@ sort-columns: a hash that allow you to map fields to sortable columns. The def
<% col = sort_columns[scope.field_path] || scope.field_path
sort = sort_field == col && sort_direction == 'asc' ?
"-#{col}" : col
- sort_url = url_for_page_path(query_parameters_filtered('except' => 'page').merge(:sort => sort))
+ sort_url = url_for_page_path(query_parameters_filtered('skip' => 'page').merge(:sort => sort))
col_heading_name = this.member_class.try.human_attribute_name(scope.field_name, :default=> scope.field_name.titleize) %>
<th param="#{scope.field_name}-heading">

0 comments on commit 20a3ce0

Please sign in to comment.