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 826 posts 1269 karma points c-trib
    Aug 01, 2018 @ 08:35
    Martin Griffiths
    0

    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 1591 posts 7148 karma points MVP 6x 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

Please Sign in or register to post replies

Write your reply to:

Draft