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

add ability to sort destinations by network type by customer order #1682

Conversation

BigG1947
Copy link
Collaborator

No description provided.

@BigG1947 BigG1947 self-assigned this Jan 15, 2025
@BigG1947 BigG1947 requested a review from gigorok January 15, 2025 14:55
@BigG1947 BigG1947 force-pushed the add-ability-to-sort-destinations-by-network-type-by-custom-order branch from f87c633 to 440d277 Compare January 15, 2025 14:56
execute <<~SQL
UPDATE network_types
SET sorting_priority = 999
WHERE sorting_priority IS NULL
Copy link
Contributor

@gigorok gigorok Jan 15, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think updating old data is needed, cause names can differ in different installations. default value will be ok. admin should configure these values properly according to his needs

@BigG1947 BigG1947 force-pushed the add-ability-to-sort-destinations-by-network-type-by-custom-order branch from 440d277 to c326ea5 Compare January 16, 2025 08:15
@gigorok gigorok merged commit 39d08d6 into yeti-switch:master Jan 16, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants