Skip to content

Conversation

@Gykes
Copy link
Collaborator

@Gykes Gykes commented Nov 2, 2025

This will add trimspace on all major object additions, Studios, Scenes, Performers, Tags and Galleries.

Before, users were able to add white space on either end of a string and this will remove that ability going forward.

Old:
Performer 1 name: ABC = ABC
Performer 2 name: ABC = ABC

New:
Performer 1 name: ABC = ABC
Performer 2 name ABC = Error due to name already existing

Objects that are allowed to have non unique names will continue to function as normal. Objects that do not allow non unique names (performers) will error out.

I'm not 100% sure what this will do to currently running versions that use this bug/feature to sort.

Fixes: #789,
Fixes: #3262

@Gykes Gykes force-pushed the Add-Trimspace-to-Backend branch from 8c14dfb to a4e4b0d Compare November 2, 2025 00:22
@WithoutPants WithoutPants added this to the Version 0.30.0 milestone Nov 6, 2025
@WithoutPants WithoutPants added the improvement Something needed tweaking. label Nov 6, 2025
@feederbox826
Copy link
Collaborator

I'm not 100% sure what this will do to currently running versions that use this bug/feature to sort.

just make sure it's not enabled on the "sort name" field

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improvement Something needed tweaking.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug Report] Input should call trimspace to get rid of any leading or trailing spaces from input

3 participants