Skip to content

Commit

Permalink
Fixed issue for filter where filtertype=buttons was only working if s…
Browse files Browse the repository at this point in the history
…howfilter and showyears is true
  • Loading branch information
abulerforrest committed Mar 10, 2022
1 parent 5bfbe10 commit 4b58985
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions widgets.php
Original file line number Diff line number Diff line change
Expand Up @@ -1228,10 +1228,12 @@ function filterByYear(e)

if ($showfilter || $showyears) {
echo '</div>';
echo ' <input type="hidden" id="instance_id" value="' . $instance_id . '" />';
echo '</form>';
}
}
if ($showfilter || $showyears) {
echo ' <input type="hidden" id="instance_id" value="' . $instance_id . '" />';
echo '</form>';
}

echo '<div class="mfn-list">';

Expand Down

0 comments on commit 4b58985

Please sign in to comment.