summaryrefslogtreecommitdiff
path: root/app/Template/project
diff options
context:
space:
mode:
authorBlueTeck <tili2@gmx.de>2015-10-10 17:23:41 +0200
committerBlueTeck <tili2@gmx.de>2015-10-10 17:23:41 +0200
commitc9ce5962a61d648f95d03a270ae485449f139ab7 (patch)
tree368924c2917891ff88c2b3dfad99dd1d8a9d0e6e /app/Template/project
parente3521db6a83639b409e2dd7abb19417f3ac0a9cd (diff)
#1340 add append/replace option to dustom filters
Diffstat (limited to 'app/Template/project')
-rw-r--r--app/Template/project/filters.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Template/project/filters.php b/app/Template/project/filters.php
index c22d7b4f..eee691c5 100644
--- a/app/Template/project/filters.php
+++ b/app/Template/project/filters.php
@@ -68,7 +68,7 @@
<i class="fa fa-caret-down"></i> <a href="#" class="dropdown-menu"><?= t('My filters') ?></a>
<ul>
<?php foreach ($custom_filters_list as $filter): ?>
- <li><a href="#" class="filter-helper" data-filter='<?= $this->e($filter['filter']) ?>'><?= $this->e($filter['name']) ?></a></li>
+ <li><a href="#" class="filter-helper" data-<?php if($filter['append']): ?><?= 'append-' ?><?php endif ?>filter='<?= $this->e($filter['filter']) ?>'><?= $this->e($filter['name']) ?></a></li>
<?php endforeach ?>
</ul>
</div>