I cant manage to find a way to order my select as I want.
I got this script:
<module name="SearchSelectLister" layoutPanel="viewHeader" autoRun="True">
My problem is that the values in the pulldown are shown in this order : Name1, Id1, Name2, Id2, Name3, Id3 etc... I would the following order : Name1, Name2, Name3,...Name N, Id1, Id2,...IdN
Is it possible?
I got around my problem and did a search that returns both Name and Id in a same field (Sorted like i wanted) so that I can have only one list in my searchFieldsToDisplay module.
index="infra_vmware" $host$ earliest=-2h latest=now|dedup Id| eval Id=Id+","+Name)|table Id| makemv delim="," Id|mvexpand Id|sort Id
Don't know if it's the best solution, but works 🙂
View solution in original post