Skip to content

Comments

Add Sort Name to Tags#5531

Merged
WithoutPants merged 12 commits intostashapp:developfrom
stg-annon:tag_sort_name
Feb 10, 2025
Merged

Add Sort Name to Tags#5531
WithoutPants merged 12 commits intostashapp:developfrom
stg-annon:tag_sort_name

Conversation

@stg-annon
Copy link
Collaborator

@stg-annon stg-annon commented Dec 4, 2024

adds a sort name to tags
Resolves #3108

this could go nowhere, testing things out
override "name" sort with COALESCE
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
@DogmaDragon
Copy link
Collaborator

Lightly tested, no more issues found.

@WithoutPants WithoutPants added this to the Version 0.28.0 milestone Feb 7, 2025
@WithoutPants WithoutPants added the feature Pull requests that add a new feature label Feb 7, 2025
Copy link
Collaborator

@WithoutPants WithoutPants left a comment

Choose a reason for hiding this comment

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

Thanks! This looks good. I made the following changes:

  • Changed the display name to be Sort Name instead of Sorting Name
  • Added new field to anonymiser
  • Added new field to import/export

@WithoutPants WithoutPants merged commit d2daf6c into stashapp:develop Feb 10, 2025
2 checks passed
@stg-annon stg-annon deleted the tag_sort_name branch February 11, 2025 08:17
XGFan pushed a commit to XGFan/stash that referenced this pull request Mar 27, 2025
* 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 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature Pull requests that add a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Sort_Name for Tags

3 participants