Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Martin Griffiths 791 posts 1189 karma points c-trib
    Aug 01, 2018 @ 08:35
    Martin Griffiths
    0

    Nested content question

    It is possible in a nested content datatype to specify {{$index}} in the template to list items with the ascending order number appended, but is there any way to append the ascending order number of each doctype used in the list?

    E.g. If there were two doctypes used in a nested content...

    • Doctype1 - 1
    • Doctype1 - 2
    • Doctype2 - 1
    • Doctype2 - 2 ...
  • Nik 1413 posts 6212 karma points MVP 3x c-trib
    Aug 08, 2018 @ 10:36
    Nik
    0

    Hi Martin,

    As far as I'm aware you can't do this unless you are able to write some sort of angular filter that does the calculation for you. It wouldn't group sort the doc types though, they appear in the order you set (i.e. the order you've put them in, or dragged them around to).

    Cheers,

    Nik

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies