Fixed an error on the filter

This commit is contained in:
Alejandro Gallardo Escobar 2015-07-02 13:10:39 +02:00
parent 224f95466c
commit 5b36f3aacf
2 changed files with 3 additions and 3 deletions

View File

@ -1901,7 +1901,7 @@ class Tree {
if (!empty($processed_items)) { if (!empty($processed_items)) {
if (!empty($this->filter["groupID"])) { if (!empty($this->filter["groupID"])) {
$result = self::extractItemWithID($processed_items, $this->filter["groupID"], "group"); $result = self::extractItemWithID($processed_items, $this->filter["groupID"], "group", $this->strictACL);
if ($result === false) if ($result === false)
$processed_items = array(); $processed_items = array();
@ -1909,7 +1909,7 @@ class Tree {
$processed_items = array($result); $processed_items = array($result);
} }
else if (!empty($this->filter["tagID"])) { else if (!empty($this->filter["tagID"])) {
$result = self::extractItemWithID($processed_items, $this->filter["tagID"], "tag"); $result = self::extractItemWithID($processed_items, $this->filter["tagID"], "tag", $this->strictACL);
if ($result === false) if ($result === false)
$processed_items = array(); $processed_items = array();

View File

@ -145,7 +145,7 @@ TreeController = {
} }
if (title.length > 0) { if (title.length > 0) {
container container
.prop("title", title) .data("title", title)
.addClass("forced_title") .addClass("forced_title")
.data("use_title_for_force_title", 1); // Trick to make easier the 'force title' output .data("use_title_for_force_title", 1); // Trick to make easier the 'force title' output
} }