You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
then retrieving all the categories from the user via GetSidebarCategoriesForTeamForUser results in the previously created Category containing an empty string as the value for "sorting" in the returned array of Category objects.
In the GUI, the sorting was set to "manual". It might also be the case, that during the creation of a category the sorting attribute is ignored, which would be something to fix, either way.
Summary
When creating a new Category via CreateSidebarCategoryForTeamForUser with the following payload
then retrieving all the categories from the user via GetSidebarCategoriesForTeamForUser results in the previously created Category containing an empty string as the value for
"sorting"
in the returned array of Category objects.Steps to reproduce
"sorting": "manual"
."sorting": ""
.Expected behavior
Sorting attribute should be reported, correctly.
Observed behavior (that appears unintentional)
The API wasn't aware of this issue.
In the GUI, the sorting was set to "manual". It might also be the case, that during the creation of a category the
sorting
attribute is ignored, which would be something to fix, either way.Workaround
Update User's Sidebar Categories via UpdateSidebarCategoryForTeamForUser or UpdateSidebarCategoriesForTeamForUser with
"sorting": "manual"
re-added, after retrieving the current category state via GetSidebarCategoriesForTeamForUser.The text was updated successfully, but these errors were encountered: