Skip to content

Add (global) sorting to server list#740

Closed
Boy132 wants to merge 6 commits intopelican-dev:mainfrom
Boy132:feature/server-sorting
Closed

Add (global) sorting to server list#740
Boy132 wants to merge 6 commits intopelican-dev:mainfrom
Boy132:feature/server-sorting

Conversation

@Boy132
Copy link
Copy Markdown
Member

@Boy132 Boy132 commented Dec 1, 2024

Closes #249

@Boy132 Boy132 self-assigned this Dec 1, 2024
@notAreYouScared
Copy link
Copy Markdown
Member

So the ONLY issue I can see is, this isn't per a user. If i sort them as an admin, it will also sort them for the user that owns the servers.

@Boy132
Copy link
Copy Markdown
Member Author

Boy132 commented Dec 1, 2024

So the ONLY issue I can see is, this isn't per a user. If i sort them as an admin, it will also sort them for the user that owns the servers.

Yeah, but I'm not sure how we would add per-user sorting. That sounds like a lot of custom queries and joins.

@Boy132 Boy132 changed the title Add sorting to server list Add (global) sorting to server list Dec 1, 2024
@Boy132 Boy132 marked this pull request as draft December 1, 2024 17:33
@lancepioch
Copy link
Copy Markdown
Member

I don't know how easy it would be on the Filament side of things... but all you'd have to do is just add an order column on the pivot model between a Server and User (Subuser).

@Boy132
Copy link
Copy Markdown
Member Author

Boy132 commented Dec 6, 2024

I don't know how easy it would be on the Filament side of things... but all you'd have to do is just add an order column on the pivot model between a Server and User (Subuser).

That would only work for subusers tho, not for owners/ admins.

@Boy132 Boy132 closed this Apr 3, 2025
@Boy132 Boy132 deleted the feature/server-sorting branch April 3, 2025 13:58
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 3, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add sorting and/or grouping to the front end

3 participants