Skip to content
Snippets Groups Projects
Commit 703d58b4 authored by Demian Katz's avatar Demian Katz
Browse files

Fixed bug -- bad interaction of default_filters/retain_filters_by_default.

parent ea48c303
No related merge requests found
......@@ -89,7 +89,7 @@
<? if (isset($hasDefaultsApplied) && $hasDefaultsApplied): ?>
<!-- this is a hidden element that flags whether or not default filters have been applied;
it is intentionally unlabeled, as users are not meant to manipulate it directly. -->
<input id="dfApplied" type="checkbox" name="dfApplied" value="1" />
<input id="dfApplied" type="checkbox" name="dfApplied" value="1"<?=$defaultFilterState?> />
<? endif; ?>
</div>
</div>
......
......@@ -83,7 +83,7 @@
<? if (isset($hasDefaultsApplied) && $hasDefaultsApplied): ?>
<!-- this is a hidden element that flags whether or not default filters have been applied;
it is intentionally unlabeled, as users are not meant to manipulate it directly. -->
<input class="applied-filter" id="dfApplied" type="checkbox" name="dfApplied" value="1" />
<input class="applied-filter" id="dfApplied" type="checkbox" name="dfApplied" value="1"<?=$defaultFilterState?> />
<? endif; ?>
</div>
<? endif; ?>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment