Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set album input title maxlength to varchar(50) length #332

Closed
wants to merge 1 commit into from

Conversation

ophian
Copy link

@ophian ophian commented Apr 27, 2015

References #305 and #325
If need, set display length by css

@electerious
Copy link
Owner

What happens when you set an album title of 50 chars including specials chars like ä, ö, ü etc.? I guess they will take more space than the allowed 50 chars of the database field.

@ophian
Copy link
Author

ophian commented Apr 27, 2015

No, that works well.

@ophian
Copy link
Author

ophian commented Apr 27, 2015

hmm sorry, no it does not - after a reload. The size shown will be size minus the amount of umlaut chars.
But this is still better than cutting the string to 30, IMHO

@electerious
Copy link
Owner

I will update the database field with the next version (>3.0), so the title can contain more chars. Than we can adjust the limit in the Front-End.

@electerious
Copy link
Owner

PR has been out-closed by GitHub because I deleted the v3.0 branch. Will take care of it.

@electerious
Copy link
Owner

A length of 50chars is now allowed (see develop branch).

electerious added a commit that referenced this pull request May 14, 2015
- Stopped view.js from cutting album and photo titles (#332)
- Fixed album sorting (getByID, deleteByID)
- Fixed jQuery each bug when opening empty album
- Stop showing deleted photos in photo switcher
@electerious electerious mentioned this pull request May 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants