Skip to content

Allow arbitrary sorting of price alerts #23

@w0rp

Description

@w0rp

Storing a position field for price alerts, which could be NULL, we should support sorting price alerts by position. NULL values should be sorted to the button, and the alerts should otherwise appear in the insertion order they appear in currently. (Order by position, nulls last, then order by id.)

Implementation detail: Updating the position of elements will require updating all other alerts for a user to shift the values and database transactions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions