Issue:Headingmode - should not group over not searched categories

From FollowTheScore
Jump to: navigation, search
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>

Results in

 Group of sub-categorie of a
   article 1
 Group of sub-categorie of b
   article 1
 Group of sub-categorie of c
   article 1

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


Reply