local-government-desktop-addins icon indicating copy to clipboard operation
local-government-desktop-addins copied to clipboard

The Feature Statistics Method does not default to Ascending Order after being switched to Descending.

Open shoe913 opened this issue 8 years ago • 3 comments

Related to Issue #135.

After setting the optional parameter for SortOrder in the Feature Statistics tool, removing the option does not revert the SortOrder to default parameters:

  1. Use DynamicValue table and data associated with Issue #135
  2. Select several features and run the method (ensure the Value Info field does not have a sort order applied ex: Data,OBJECTID|Concat)
  3. Note the SortOrder of the data ( if using sample value Info from above this will be "1,Test", "2,Again", etc)
  4. Change the SortOrder to Descending and run the method ( values now listed as "Test,1","Again,2", etc)
  5. Remove the optional parameters and run the Method

BUG: The SortOrder for the data is still descending. Since the default value is Ascending, the method should revert to this when the sort order is removed.

shoe913 avatar Feb 13 '17 19:02 shoe913

in testing, there is no default sort order, it is field order. Watching the video of the issue, it is working as expected.

@pLeBlanc93 We should doc that the concat results are in field order unless a sort value is specified

MikeMillerGIS avatar Feb 13 '17 20:02 MikeMillerGIS

#145 is somewhat related

pLeBlanc93 avatar Feb 13 '17 21:02 pLeBlanc93

Note

If SortOrder is not specified, the order of the fields in the table will be used.

pLeBlanc93 avatar Feb 15 '17 17:02 pLeBlanc93