Skip to content

Commit

Permalink
fix: facet summary formatting update to match evitaDB's approach
Browse files Browse the repository at this point in the history
  • Loading branch information
tpz committed Aug 8, 2024
1 parent 2bc1ca1 commit aab5932
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EvitaDB.Client/Models/ExtraResults/FacetSummary.cs
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ public string PrettyPrint(Func<FacetGroupStatistics, string> groupRenderer,
string.Join("\n", statistics
.GetFacetStatistics()
.Select(facet => "\t\t[" +
(facet.Requested ? "X" : " ") + "] " +
(facet.Requested ? "X" : facet.Impact is null or { HasSense: true } ? " " : "-") + "] " +
(facetRenderer(facet).Trim() != ""
? facetRenderer(facet)
: facet.FacetEntity.PrimaryKey.ToString()) +
Expand Down

0 comments on commit aab5932

Please sign in to comment.