forked from netgen-layouts/layouts-ibexa
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#14790 - Add 'use_parent_location' attribute in ContentSearchHandler
The 'use_parent_location' parameter has been included to extend the ContentSearchHandler. This new boolean attribute modifies the buildParentLocationParameters and isContextual methods, allowing for the parent location to be used as the search parameter if activated. Additionally, necessary wordings have been added to the translation files.
- Loading branch information
Showing
4 changed files
with
44 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Changelogfor CJW Stack | ||
=========================================================== | ||
|
||
20240423 - Extend ContentSearchHandler > ParentLocationTrait | ||
------------------------------------------------------------ | ||
|
||
Set new boolean attribute "use_parent_location" for ParentLocationTrait: | ||
vendor/netgen/layouts-ibexa/lib/Collection/QueryType/Handler/Traits/ParentLocationTrait.php | ||
|
||
Extend ContentSearchHandler: | ||
vendor/netgen/layouts-ibexa/lib/Collection/QueryType/Handler/ContentSearchHandler.php | ||
|
||
Set translation for new attribute: | ||
vendor/netgen/layouts-ibexa/bundle/Resources/translations/nglayouts.en.yaml |
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