Rename the ignored parameter. re #34
This commit is contained in:
parent
76e24d85f3
commit
19dcd73585
4 changed files with 12 additions and 11 deletions
10
base.php
10
base.php
|
@ -464,22 +464,22 @@ class Page
|
|||
Base::clearDb ();
|
||||
}
|
||||
} else {
|
||||
if (!in_array ("author", $config ['cops_ignored_search_scope'])) {
|
||||
if (!in_array ("author", $config ['cops_ignored_categories'])) {
|
||||
array_push ($this->entryArray, Author::getCount());
|
||||
}
|
||||
if (!in_array ("series", $config ['cops_ignored_search_scope'])) {
|
||||
if (!in_array ("series", $config ['cops_ignored_categories'])) {
|
||||
$series = Serie::getCount();
|
||||
if (!is_null ($series)) array_push ($this->entryArray, $series);
|
||||
}
|
||||
if (!in_array ("publisher", $config ['cops_ignored_search_scope'])) {
|
||||
if (!in_array ("publisher", $config ['cops_ignored_categories'])) {
|
||||
$publisher = Publisher::getCount();
|
||||
if (!is_null ($publisher)) array_push ($this->entryArray, $publisher);
|
||||
}
|
||||
if (!in_array ("tag", $config ['cops_ignored_search_scope'])) {
|
||||
if (!in_array ("tag", $config ['cops_ignored_categories'])) {
|
||||
$tags = Tag::getCount();
|
||||
if (!is_null ($tags)) array_push ($this->entryArray, $tags);
|
||||
}
|
||||
if (!in_array ("language", $config ['cops_ignored_search_scope'])) {
|
||||
if (!in_array ("language", $config ['cops_ignored_categories'])) {
|
||||
$languages = Language::getCount();
|
||||
if (!is_null ($languages)) array_push ($this->entryArray, $languages);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue