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
order some-table:
column1 ascending,
column2 descending
end
When clicking on the option to ascend or descend, they do change into the opposite direction:
Clicked:
Unclicked:
But the value does not change afterwards.
Relevant constructors for Order Table can be found under class TableOrder and ColumnSort for "ast.tsx", and "s-table-order" and "'s-column-sort" for "PyretParser.ts"
The text was updated successfully, but these errors were encountered:
Now clicking on the table:
yields the following result:
Changing the highlighted text into "descending" works, and changing it into any other string except for "ascending" and "descending" is not accepted by the editor:
Workaround now requires user to change the text "ascending" to "descending" because the node for that is a String Literal Node, might be more efficient if the change is done for them, since there are only 2 options for column sorts (Are there nodes that only lets the user make binary choices?).
For blocks such as the following:
When clicking on the option to ascend or descend, they do change into the opposite direction:
Clicked:
Unclicked:
But the value does not change afterwards.
The text was updated successfully, but these errors were encountered: