You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@causeway.apache.org by da...@apache.org on 2026/06/15 22:51:49 UTC

(causeway) branch CAUSEWAY-4038 updated: CAUSEWAY-4038 : also hides 'navigate to' params if property is hidden WHERE.REFERENCES_PARENT

This is an automated email from the ASF dual-hosted git repository.

danhaywood pushed a commit to branch CAUSEWAY-4038
in repository https://gitbox.apache.org/repos/asf/causeway.git


The following commit(s) were added to refs/heads/CAUSEWAY-4038 by this push:
     new db291cd28a5 CAUSEWAY-4038 : also hides 'navigate to' params if property is hidden WHERE.REFERENCES_PARENT
db291cd28a5 is described below

commit db291cd28a514cb5e2a0e2e873973130bd22f7b9
Author: Dan Haywood <da...@haywood-associates.co.uk>
AuthorDate: Mon Jun 15 23:51:22 2026 +0100

    CAUSEWAY-4038 : also hides 'navigate to' params if property is hidden WHERE.REFERENCES_PARENT
---
 .../core/metamodel/specloader/specimpl/ObjectSpecificationAbstract.java  | 1 +
 1 file changed, 1 insertion(+)

diff --git a/core/metamodel/src/main/java/org/apache/causeway/core/metamodel/specloader/specimpl/ObjectSpecificationAbstract.java b/core/metamodel/src/main/java/org/apache/causeway/core/metamodel/specloader/specimpl/ObjectSpecificationAbstract.java
index c13f85e015e..5016add5fc1 100644
--- a/core/metamodel/src/main/java/org/apache/causeway/core/metamodel/specloader/specimpl/ObjectSpecificationAbstract.java
+++ b/core/metamodel/src/main/java/org/apache/causeway/core/metamodel/specloader/specimpl/ObjectSpecificationAbstract.java
@@ -1116,6 +1116,7 @@ private static Can<ObjectAssociation> filterPropertiesOf(
             return childSpec
                     .streamAssociations(MixedIn.INCLUDED)
                     .filter(ObjectAssociation.Predicates.visibleAccordingToHiddenFacet(Where.PARENTED_TABLES))
+                    .filter(ObjectAssociation.Predicates.visibleAccordingToHiddenFacet(Where.REFERENCES_PARENT))
                     .filter(ObjectAssociation.Predicates.referencesParent(parentSpec).negate())
                     .sorted(columnOrderComparator(childSpec))
                     .filter(ParentedCollectionNavigationActionUtil::isEligibleFilterParameterProperty)