local-government-desktop-addins
local-government-desktop-addins copied to clipboard
The Feature Statistics Method does not default to Ascending Order after being switched to Descending.
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:
- Use DynamicValue table and data associated with Issue #135
- Select several features and run the method (ensure the Value Info field does not have a sort order applied ex: Data,OBJECTID|Concat)
- Note the SortOrder of the data ( if using sample value Info from above this will be "1,Test", "2,Again", etc)
- Change the SortOrder to Descending and run the method ( values now listed as "Test,1","Again,2", etc)
- 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.
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
#145 is somewhat related
Note
If SortOrder is not specified, the order of the fields in the table will be used.