Skip to content

Commit

Permalink
Merge pull request #15029 from reecebenson/bugfix/reports-remove-sort…
Browse files Browse the repository at this point in the history
…ing-filters

Allow for the deselection of sorting filters
  • Loading branch information
eileenmcnaughton authored Aug 16, 2019
2 parents ca231c6 + a156fb4 commit ed2090f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/CRM/Report/Form/Tabs/OrderBy.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@
function hideRow(i) {
showHideRow(i);
// clear values on hidden field, so they're not saved
cj('select#order_by_column_'+ i).val('');
cj('select#order_by_order_'+ i).val('ASC');
cj('select#order_bys_'+ i +'_column').val('-');
cj('select#order_bys_'+ i +'_order').val('ASC');
cj('input#order_by_section_'+ i).prop('checked', false);
cj('input#order_by_pagebreak_'+ i).prop('checked', false);
}
Expand Down

0 comments on commit ed2090f

Please sign in to comment.