Skip to content

Commit

Permalink
Enable dynamic filters for 'Match type' and 'Highlight changed'
Browse files Browse the repository at this point in the history
Add missing 'dynamic-filter-expander' class to enable the AJAX.

Fixes #20080
  • Loading branch information
dregad committed Sep 7, 2015
1 parent 9621796 commit d2d52ad
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions core/filter_api.php
Expand Up @@ -3389,7 +3389,13 @@ function filter_draw_selection_area2( $p_page_number, $p_for_screen = true, $p_e

<!-- Match Type -->
<tr class="row-1">
<td class="small-caption category2"><a href="<?php echo $t_filters_url . FILTER_PROPERTY_MATCH_TYPE;?>" id="match_type_filter"><?php echo lang_get( 'filter_match_type' )?>:</a></td>
<td class="small-caption category2">
<a id="match_type_filter"
href="<?php echo $t_filters_url . FILTER_PROPERTY_MATCH_TYPE;?>"
<?php echo $t_dynamic_filter_expander_class; ?>>
<?php echo lang_get( 'filter_match_type' )?>:
</a>
</td>
<td class="small-caption" id="match_type_filter_target">
<?php
switch( $t_filter[FILTER_PROPERTY_MATCH_TYPE] ) {
Expand All @@ -3408,7 +3414,7 @@ function filter_draw_selection_area2( $p_page_number, $p_for_screen = true, $p_e
<td class="small-caption category2">
<a id="highlight_changed_filter"
href="<?php echo $t_filters_url . FILTER_PROPERTY_HIGHLIGHT_CHANGED; ?>"
<?php #echo $t_dynamic_filter_expander_class; ?>>
<?php echo $t_dynamic_filter_expander_class; ?>>
<?php echo lang_get( 'changed_label' )?>
</a>
</td>
Expand Down

0 comments on commit d2d52ad

Please sign in to comment.