Difference between revisions of "Issue:Headingmode - should not group over not searched categories"
From FollowTheScore
(New page: {{Issue |Type = Change Request |Extension = DPL |Version = 1.7.5 |Description = Grouping with Headingmode should not include categories not matching the query parameter |...) |
m |
||
Line 12: | Line 12: | ||
one or more articels match the following criteria: | one or more articels match the following criteria: | ||
− | article 1 | + | article 1 |
- sub-categorie of a | - sub-categorie of a | ||
- sub-categorie of b | - sub-categorie of b |
Revision as of 15:50, 15 April 2009
Description: | Grouping with Headingmode should not include categories not matching the query parameter |
Extension / Version: | DPL / 1.7.5 |
Type / Status: | Change Request / open |
Problem
I have the following setup
one or more articels match the following criteria:
article 1 - sub-categorie of a - sub-categorie of b - sub-categorie of c
I want to list all artikels in sub-categories of categorie-a. so i write: <dpl> categories = *categorie-a ordermode = category,sortkey Headingmode = unordered </dpl>
my result lists all articles which are in sub-categories of categorie-a but the "grouping" lists my artikel three times and groups over every sub-categorie (a, b and c) assigned in this article. That's not what I want.
I want to see the article only once for sub-categorie of a.
There is no problem, when I used 2 sub-catogies of a and the article is then duplicated in the list. That's what I expected :)
One last expamle
My Setup:
article 1 - sub-categorie1 of a - sub-categorie of b - sub-categorie of c
article 2 - sub-categorie1 of a - sub-categorie2 of a - sub-categorie of c
My expected Result:
Group of sub-categorie1 of a article 1 article 2 Group of sub-categorie2 of a article 2