Sorting Seed Lists | Community
Skip to main content
noogi1207
September 1, 2017
Solved

Sorting Seed Lists

  • September 1, 2017
  • 3 replies
  • 2105 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by davidk46719882

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>

3 replies

florentlb
Level 10
September 5, 2017

Hi,

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

Thanks,

Florent

noogi1207
noogi1207Author
September 5, 2017

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.

davidk46719882
davidk46719882Accepted solution
Level 2
September 5, 2017

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>