Skip to content

Commit

Permalink
(#21): domain model fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
andi-huber committed Mar 10, 2024
1 parent 66c258a commit ab25759
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,11 @@ public FacetDescriptorPathwayForFoodGroup act(
&& Objects.equals(fg.getFoodSubgroupCode(), p.foodSubgroup().getFoodSubgroupCode()));
}

@MemberSupport public List<FoodFacet> choicesFacet(
@MemberSupport public List<FoodFacet> choicesFoodFacet(
final FacetDescriptorPathwayForFoodGroup.Params p) {
return repositoryService.allInstances(FoodFacet.class);
}
@MemberSupport public List<FoodDescriptor> choicesDescriptor(
@MemberSupport public List<FoodDescriptor> choicesFoodDescriptor(
final FacetDescriptorPathwayForFoodGroup.Params p) {
return p.foodFacet()!=null
? repositoryService.allMatches(FoodDescriptor.class,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<bs:tab name="Facet/Descriptor">
<bs:row>
<bs:col span="12">
<cpt:collection id="effectiveFoodDescriptors"></cpt:collection>
<cpt:collection id="effectiveRecipeDescriptors"></cpt:collection>
<cpt:collection id="dependentFacetDescriptorPathwayForRecipeMappedByRecipe"></cpt:collection>
</bs:col>
</bs:row>
Expand Down

0 comments on commit ab25759

Please sign in to comment.