1.0 KiB
1.0 KiB
id, title, status, assignee, created_date, labels, dependencies, references, priority
| id | title | status | assignee | created_date | labels | dependencies | references | priority | |
|---|---|---|---|---|---|---|---|---|---|
| ML-77 | Inconsistent alphabetical ordering helpers | Done | 2026-04-20 08:57 |
|
low |
Description
GitHub: created 2026-03-05 · updated 2026-03-06 · closed 2026-03-06
Priority: Low
Description
Records defines an order_alphabetically() macro (used by Collection), but OnlineStoreTemplates and RecordSets use raw fragment("? COLLATE NOCASE ASC", ...) instead.
Locations
lib/music_library/records.ex:39— defines macrolib/music_library/collection.ex:52,62,73— uses macrolib/music_library/online_store_templates.ex:14,20— raw fragmentlib/music_library/record_sets.ex:45— raw fragment
Expected behavior
Parameterize the order_alphabetically macro to accept a field and share it across all contexts.
Source
From technical debt audit (2026-03-05).