diff options
author | Busfreak <martin@middeke.de> | 2016-01-12 18:28:31 +0100 |
---|---|---|
committer | Busfreak <martin@middeke.de> | 2016-01-12 18:28:31 +0100 |
commit | 286d46313a6c3d2c49547ba2bfea2a1db7eac205 (patch) | |
tree | a5ace09a4fb907a8b98f0818c8f1db8b14709e8b /app/Template/project | |
parent | 6a7a4c2bd225d7767ebc2d0c41e7090a31378088 (diff) |
add hook to app/filters_helper, add $project delivery to project/filters
This request adds two new hooks to the app/filters_helper (before and
after) including delivery of $project to hooked template if set.
Additionally it delivers $project from project/filters to
app/filters_helper.
Diffstat (limited to 'app/Template/project')
-rw-r--r-- | app/Template/project/filters.php | 3 |
1 files changed, 2 insertions, 1 deletions
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"> |