Skip to content

Commit

Permalink
Assets: fixed reseting filter by one column
Browse files Browse the repository at this point in the history
  • Loading branch information
paveljanda committed Dec 9, 2016
1 parent 4d0e4fe commit 118e9f0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion assets/dist/datagrid.js
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@ $.nette.ext('datagrid.reset-filter-by-column', {
return grid.find('[data-datagrid-reset-filter-by-column]').each(function() {
var new_href;
key = $(this).attr('data-datagrid-reset-filter-by-column');
new_href = href.replace('do=examplesGrid-resetFilter', 'do=' + payload._datagrid_name + '-resetColumnFilter');
new_href = href.replace('do=' + payload._datagrid_name + '-resetFilter', 'do=' + payload._datagrid_name + '-resetColumnFilter');
new_href += '&' + payload._datagrid_name + '-key=' + key;
return $(this).attr('href', new_href);
});
Expand Down
Loading

0 comments on commit 118e9f0

Please sign in to comment.