mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 20:34:37 +03:00
Add Sort Name to Tags (#5531)
* override "name" sort with COALESCE * tag sort_name frontend adds `data-sort-name` attribute to tag links prioritizes sort_name value but will default to tag name if not present in the same way that COALESCE will prioritize the same values in the same way * add sort_name filter, update locale per request * Include sort name in anonymiser * Add import/export support --------- Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
This commit is contained in:
2
pkg/sqlite/migrations/72_tag_sort_name.up.sql
Normal file
2
pkg/sqlite/migrations/72_tag_sort_name.up.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE `tags` ADD COLUMN `sort_name` varchar(255);
|
||||
|
||||
Reference in New Issue
Block a user