Results 1 to 3 of 3

Thread: Nesting groups?

  1. #1
    Guest Guest

    Default Nesting groups?

    Can groups be nested? I tried it but it didn't work, and I don't see any examples in the standard templates.

  2. #2
    Guest Guest

    Default Re: Nesting groups?

    More details: What's happening is that *every* album is being listed under *every* top level group. Within each top-level group, the albums are correctly being grouped by the second-level grouping, but they are not being restricted to those that match the top-level grouping.

    Example: supposed I have two albums in my database, of different genres and different artists, and that my groupings are by Genre and then by Artist Sort. Then I should get

    Genre 1
    Artist 1
    Title 1
    Genre 2
    Artist 2
    Title 2

    but I'm getting

    Genre 1
    Artist 1
    Title 1
    Artist 2
    Title 2
    Genre 2
    Artist 1
    Title 1
    Artist 2
    Title 2

    My code is below.

    <!--[Group($GROUPBY)]-->
    <h2><!--[GroupField]-->??<!--[/GroupField]--></h2>
    <ul>
    <!--[Group($GROUPBY2)]-->
    <li>
    <b><!--[GroupField]-->??<!--[/GroupField]--></b>
    <ul>
    <!--[Album(all,$SORTBY1,$SORTBY2,$SORTBY3)]-->
    <li><!--[ShelfID]-->?-???<!--[/ShelfID]--> - <!--[AlbumPageLink]--><!--[Title]-->Title<!--[/Title]--><!--[/AlbumPageLink]-->
    <!--[/Album]-->
    </ul>
    </li>
    <!--[/Group]-->
    </ul>
    <!--[/Group]-->

  3. #3
    Join Date
    Feb 2009
    Posts
    1,549

    Default Re: Nesting groups?

    A little bit late response :-[ : nesting groups are not currently supported. This is the feature that will be allowed in future version.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •