diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-04-24 18:07:05 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-04-24 18:07:05 -0400 |
commit | 36bdcf193b6d54eefe27f58689c44953715a4dad (patch) | |
tree | e64a4ce158bbb37373a318b36ad32a83cb529b26 /app | |
parent | f74d7ef209701bba905c0179b30f24a6e3faa5db (diff) |
Category and user filters do not append anymore in search field
Diffstat (limited to 'app')
-rw-r--r-- | app/Template/project_header/search.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/Template/project_header/search.php b/app/Template/project_header/search.php index 42216352..8885d9c9 100644 --- a/app/Template/project_header/search.php +++ b/app/Template/project_header/search.php @@ -22,9 +22,9 @@ <div class="dropdown"> <a href="#" class="dropdown-menu dropdown-menu-link-icon" title="<?= t('User filters') ?>"><i class="fa fa-users fa-fw"></i> <i class="fa fa-caret-down"></i></a> <ul> - <li><a href="#" class="filter-helper" data-append-filter="assignee:nobody"><?= t('Not assigned') ?></a></li> + <li><a href="#" class="filter-helper" data-unique-filter="assignee:nobody"><?= t('Not assigned') ?></a></li> <?php foreach ($users_list as $user): ?> - <li><a href="#" class="filter-helper" data-append-filter='assignee:"<?= $this->text->e($user) ?>"'><?= $this->text->e($user) ?></a></li> + <li><a href="#" class="filter-helper" data-unique-filter='assignee:"<?= $this->text->e($user) ?>"'><?= $this->text->e($user) ?></a></li> <?php endforeach ?> </ul> </div> @@ -34,9 +34,9 @@ <div class="dropdown"> <a href="#" class="dropdown-menu dropdown-menu-link-icon" title="<?= t('Category filters') ?>"><i class="fa fa-tags fa-fw"></i><i class="fa fa-caret-down"></i></a> <ul> - <li><a href="#" class="filter-helper" data-append-filter="category:none"><?= t('No category') ?></a></li> + <li><a href="#" class="filter-helper" data-unique-filter="category:none"><?= t('No category') ?></a></li> <?php foreach ($categories_list as $category): ?> - <li><a href="#" class="filter-helper" data-append-filter='category:"<?= $this->text->e($category) ?>"'><?= $this->text->e($category) ?></a></li> + <li><a href="#" class="filter-helper" data-unique-filter='category:"<?= $this->text->e($category) ?>"'><?= $this->text->e($category) ?></a></li> <?php endforeach ?> </ul> </div> |