Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support relation order in DB and api #963

Open
gabestein opened this issue Feb 10, 2025 · 1 comment
Open

Support relation order in DB and api #963

gabestein opened this issue Feb 10, 2025 · 1 comment
Assignees
Labels

Comments

@gabestein
Copy link
Member

gabestein commented Feb 10, 2025

Motivation

So developers can work with ordered relations
So users can order relations in a single field on a given pub (see #951)

Requirements

  • Queries for relationship fields across the app, including in the REST API should return related pubs in user-specified order and include order in return value

Acceptance Criteria

  • Add new column to pub values table for defining order
  • Use some ordering algorithm (like the one in Legacy) that is faster than O(n) complexity.
@kalilsn
Copy link
Member

kalilsn commented Feb 24, 2025

I've made some progress on this but still need 1 more day.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

No branches or pull requests

2 participants