Skip to content

Genres and Tags always follow sentence case regardless of what you enter #4161

@MSViswanth

Description

@MSViswanth

What happened?

When you add genres or tags, all of them end up with a sentence case regardless of what you enter.

For example, LHS text gets converted to RHS text.

  1. Office Romance -> Office romance
  2. office romance -> Office romance
  3. slice of life -> Slice of life
  4. Slice of Life -> Slice of life
  5. sLiFe Of lIFE -> Slice of life

What did you expect?

It needs to stay as I entered. Leading and trailing whitespaces can be trimmed but casing needs to be preserved.

  1. Office Romance -> Office Romance
  2. office romance -> office romance
  3. slice of life -> slice of life
  4. Slice of Life -> Slice of Life
  5. sLiFe Of lIFE -> sLiFe Of lIFE

Kavita Version Number - If you don't see your version number listed, please update Kavita and see if your issue still persists.

0.8.8 - Stable

Are you accessing kavita through a reverse proxy? If yes, confirm that the issue persists with a direct connection

No

What operating system is Kavita being hosted from?

Docker (Dockerhub Container)

If the issue is being seen on Desktop, what OS are you running where you see the issue?

Mac

If the issue is being seen in the UI, what browsers are you seeing the problem on?

Firefox

If the issue is being seen on Mobile, what OS are you running where you see the issue?

iOS

If the issue is being seen on the Mobile UI, what browsers are you seeing the problem on?

Safari

Relevant log output

Additional Notes

This could be the reason.

Title = name.Trim().SentenceCase(),

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triageNeeds to be triaged by a developer and assigned a release

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions