Alpha sort regardless of capitalization

This commit is contained in:
David Heinemeier Hansson
2025-04-05 16:27:22 +02:00
parent 77f412f875
commit 6990f1eb05
+1 -1
View File
@@ -12,7 +12,7 @@ class Bucket < ApplicationRecord
after_save :update_bubbles_workflow, if: :saved_change_to_workflow_id?
scope :alphabetically, -> { order(name: :asc) }
scope :alphabetically, -> { order("lower(name)") }
private
def update_bubbles_workflow