- flagged more db-entries with CUSTOM_EXCLUDE_FOR_LISTVIEW

- check for this flag on list-pages (search already had this)
This commit is contained in:
Sarjuuk
2014-09-19 19:32:49 +02:00
parent 0620a0081d
commit 49ecdb9a31
14 changed files with 67 additions and 12 deletions

View File

@@ -33,6 +33,9 @@ class NpcsPage extends GenericPage
{
$conditions = [];
if (!User::isInGroup(U_GROUP_EMPLOYEE))
$conditions[] = [['cuFlags', CUSTOM_EXCLUDE_FOR_LISTVIEW, '&'], 0];
if ($this->category)
{
$conditions[] = ['type', $this->category[0]];