Skip to content

Unable to Change Directions in Order Table Block  #21

@maroon-scorch

Description

@maroon-scorch

For blocks such as the following:

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:
107183622-b9f00500-69a4-11eb-8b74-b8a5bb4764f1 (1)
Unclicked:
image
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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions