Merge branch 'develop'

This commit is contained in:
Simon Vieille 2025-03-12 12:55:28 +01:00
commit 275f12dd8d
3 changed files with 3 additions and 2 deletions

View file

@ -5,6 +5,7 @@
* CrudController: allow to add callables after creation, update and delation
### Fixed
* fix(crud): use context variable to retrieve the form and the form options
* fix(node): use `false` instead of `O` in query
## [v1.25.2] - 2025-02-07
### Added

View file

@ -233,7 +233,7 @@ class FsFileManager
$directory .= '/'.trim(dirname($fullPaths[$key]), '/');
}
$this->uploadHandler->handleForm($file, $directory, null, true);
$this->uploadHandler->handleForm($file, $directory, keepOriginalFilename: true);
}
}

View file

@ -18,7 +18,7 @@ class NodeRepository extends NestedTreeRepository
$query = $this->createQueryBuilder('n')
->join('n.menu', 'm')
->where('n.url = :url')
->andWhere('n.disableUrl = 0')
->andWhere('n.disableUrl = false')
->andWhere('n.aliasNode is null')
->andWhere('m.navigation = :navigation')
->setParameter(':url', $url)