summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/Template/app/filters_helper.php4
-rw-r--r--app/Template/project/filters.php3
2 files changed, 5 insertions, 2 deletions
diff --git a/app/Template/app/filters_helper.php b/app/Template/app/filters_helper.php
index 71b57a8c..4e11c669 100644
--- a/app/Template/app/filters_helper.php
+++ b/app/Template/app/filters_helper.php
@@ -1,3 +1,4 @@
+<?= $this->hook->render('template:app:filters_helper:before', isset($project) ? array('project' => $project) : array('project' => $project = 0)) ?>
<div class="dropdown filters">
<i class="fa fa-caret-down"></i> <a href="#" class="dropdown-menu"><?= t('Filters') ?></a>
<ul>
@@ -15,4 +16,5 @@
<?= $this->url->doc(t('View advanced search syntax'), 'search') ?>
</li>
</ul>
-</div> \ No newline at end of file
+</div>
+<?= $this->hook->render('template:app:filters_helper:after', isset($project) ? array('project' => $project) : array('project' => $project = 0)) ?> \ No newline at end of file
diff --git a/app/Template/project/filters.php b/app/Template/project/filters.php
index 0dbb52c9..78794e1c 100644
--- a/app/Template/project/filters.php
+++ b/app/Template/project/filters.php
@@ -63,7 +63,8 @@
</form>
<div class="filter-dropdowns">
- <?= $this->render('app/filters_helper', array('reset' => 'status:open')) ?>
+
+ <?= $this->render('app/filters_helper', array('reset' => 'status:open', 'project' => $project)) ?>
<?php if (isset($custom_filters_list) && ! empty($custom_filters_list)): ?>
<div class="dropdown filters">