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 781 posts 1178 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 1134 posts 4700 karma points MVP 2x 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