This commit replaces the all versions aggregation by only major versions.
There is also change for the search results list. Before labels for all versions assigned to the snippet were rendered. After the changes only the highest version in given branch will be rendered. For example, if snippet has versions main, 12.4, 12.0, 11.5, 11.3, 11.0, 9.5, only labels for main,12.4, 11.5, 9.5 will be rendered.
This commit replaces the all versions aggregation by only major versions.
There is also change for the search results list. Before labels for all versions assigned to the snippet were rendered. After the changes only the highest version in given branch will be rendered. For example, if snippet has versions
main
,12.4
,12.0
,11.5
,11.3
,11.0
,9.5
, only labels formain
,12.4
,11.5
,9.5
will be rendered.Resolves issue: #14