Expand my Community achievements bar.

SOLVED

Sorting Seed Lists

Avatar

Level 1

Hi All,

I know that I can go into the properties of a folder and sort the subfolders alphabetically. Can I do the same for recipients within my Seed folders? Because each seed recipient is not listed as a subfolder, the sorting doesn't affect them. But, it's hard to look at these folders full of people in reasonable order or sort.

1 Accepted Solution

Avatar

Correct answer by
Level 3

Hi,

You need to create an extension of nms:core of your navigation tree and add a code like this

<nodeModel folderLink="folder" img="nms:unknownad.png" label="Seed addresses"

                 name="nmsSeedList">

        <view name="listdet" schema="nms:seedMember" type="listdet">

          <columns>

            <node xpath="[.]"/>

          </columns>

          <orderBy>

            <node expr="@label"/>

          </orderBy>

        </view>

      </nodeModel>

1293145_pastedImage_0.png

View solution in original post

3 Replies

Avatar

Level 10

Hi,

I'm not sure to understand. Can you share a screenshot of the view you'd like to sort?

Thanks,

Florent

Avatar

Level 1

This is what I was referring to, but it just dawned on me that I could just click the label at the top of the screen to sort them, I guess my question was how do I permanently sort them in alphabetical order rather than the order in which they were added to that specific Seed group.

1292706_pastedImage_1.png

Avatar

Correct answer by
Level 3

Hi,

You need to create an extension of nms:core of your navigation tree and add a code like this

<nodeModel folderLink="folder" img="nms:unknownad.png" label="Seed addresses"

                 name="nmsSeedList">

        <view name="listdet" schema="nms:seedMember" type="listdet">

          <columns>

            <node xpath="[.]"/>

          </columns>

          <orderBy>

            <node expr="@label"/>

          </orderBy>

        </view>

      </nodeModel>

1293145_pastedImage_0.png