From b4b183051391baf1e3227dc85e9973ef4f1c885a Mon Sep 17 00:00:00 2001 From: Deluan Date: Tue, 17 Feb 2026 11:35:36 -0500 Subject: [PATCH] refactor: remove outdated comments regarding NATURALSORT collation behavior Signed-off-by: Deluan --- persistence/sql_base_repository.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/persistence/sql_base_repository.go b/persistence/sql_base_repository.go index 73de71744..64968670c 100644 --- a/persistence/sql_base_repository.go +++ b/persistence/sql_base_repository.go @@ -74,9 +74,6 @@ func (r *sqlRepository) registerModel(instance any, filters map[string]filterFun // Ex: order_title => (coalesce(nullif(sort_title,""), order_title) collate NATURALSORT) // To avoid performance issues, indexes should be created for these sort expressions. // -// When PreferSortTags is off, bare order_* columns automatically use their column-defined NATURALSORT -// collation, so no query-time wrapping is needed. -// // NOTE: if an individual item has spaces, it should be wrapped in parentheses. For example, // you should write "(lyrics != '[]')". This prevents the item being split unexpectedly. // Without parentheses, "lyrics != '[]'" would be mapped as simply "lyrics"