From c712519e7bae1e244fa88601016eec085463b09e Mon Sep 17 00:00:00 2001 From: Luciano Righetti Date: Sat, 28 May 2022 09:14:30 +0200 Subject: [PATCH] fix: do not fetch tag related entities --- app/Model/Tag.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Model/Tag.php b/app/Model/Tag.php index 6f4235562..94d60baa7 100644 --- a/app/Model/Tag.php +++ b/app/Model/Tag.php @@ -293,7 +293,7 @@ class Tag extends AppModel $conditions[] = array('Tag.name LIKE' => $tagName); } $result = $this->find('column', array( - 'recursive' => 1, + 'recursive' => -1, 'conditions' => ['OR' => $conditions], 'fields' => array('Tag.id') ));