Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

  • Loading branch information...
commit 20a3ce0a3831294d44970dad8111ea1d4ed8dd76 1 parent c36ce39
Bryan Larsen bryanlarsen authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  hobo_rapid/taglibs/plus/table_plus.dryml
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
41 41 <% col = sort_columns[scope.field_path] || scope.field_path
42 42 sort = sort_field == col && sort_direction == 'asc' ?
43 43 "-#{col}" : col
44   - sort_url = url_for_page_path(query_parameters_filtered('except' => 'page').merge(:sort => sort))
  44 + sort_url = url_for_page_path(query_parameters_filtered('skip' => 'page').merge(:sort => sort))
45 45 col_heading_name = this.member_class.try.human_attribute_name(scope.field_name, :default=> scope.field_name.titleize) %>
46 46
47 47 <th param="#{scope.field_name}-heading">

0 comments on commit 20a3ce0

Please sign in to comment.
Something went wrong with that request. Please try again.