mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 09:15:15 +02:00
Fixed an error on the filter
This commit is contained in:
parent
224f95466c
commit
5b36f3aacf
@ -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();
|
||||||
|
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user