-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix assets not loaded for fields generated automatically
- Loading branch information
1 parent
5f4413d
commit 29775b9
Showing
3 changed files
with
8 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -262,7 +262,7 @@ private function getSearchablePropertiesConfig(QueryBuilder $queryBuilder, Searc | |
$associatedEntityAlias = $associatedPropertyName = ''; | ||
for ($i = 0; $i < $numAssociatedProperties - 1; ++$i) { | ||
$associatedEntityName = $associatedProperties[$i]; | ||
$associatedEntityAlias = Escaper::escapeDqlAlias($associatedEntityName).($i ?: ''); | ||
$associatedEntityAlias = Escaper::escapeDqlAlias($associatedEntityName).((string) $i); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
astronati
|
||
$associatedPropertyName = $associatedProperties[$i + 1]; | ||
|
||
if (!\in_array($associatedEntityAlias, $entitiesAlreadyJoined, true)) { | ||
|
It is not correct fix. Before "0" is not appended.
Now it generate exeption like
5f4413d#commitcomment-144328672