Skip to content

[MAINTENANCE] Shorten 'place' metadata field value - #2229

Open
beatrycze-volk wants to merge 1 commit into
kitodo:mainfrom
beatrycze-volk:shorten-place
Open

beatrycze-volk wants to merge 1 commit into
kitodo:mainfrom
beatrycze-volk:shorten-place

Conversation

@beatrycze-volk

Copy link
Copy Markdown
Collaborator

Introduces a reusable 'shortenValue' method to limit the length of concatenated metadata strings. This method is now applied to the 'place' field to prevent overly long values. The 'getAuthors' method was also refactored to utilize this new common shortening logic, gracefully adding 'et al.' when truncated.

Introduces a reusable 'shortenValue' method to limit the length of concatenated metadata strings. This method is now applied to the 'place' field to prevent overly long values. The 'getAuthors' method was also refactored to utilize this new common shortening logic, gracefully adding 'et al.' when truncated.
@beatrycze-volk beatrycze-volk self-assigned this Oct 23, 2026
@beatrycze-volk beatrycze-volk added ⟳ maintenance A task to keep the code up-to-date and manageable. ☇ bug A non-security related bug. labels Oct 23, 2026

This branch has not been deployed

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

Labels

☇ bug A non-security related bug. ⟳ maintenance A task to keep the code up-to-date and manageable.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant