Comment 23 for bug 1845556

Revision history for this message
Josh Stompro (u-launchpad-stompro-org) wrote :

I believe that this work addresses the issue with call number prefixes being wrapped incorrectly. But if anyone needs a local fix before this gets to them, here is a simple one line change that goes back to the old behavior. This was keeping us from using the web client spine label printing because we use long expressive call number prefixes.

Prefix = "EASY READER E"

Expected output:
EASY
READER
E

Output before this fix gets applied:
EASY REA
DER E

Fix is to add in a substitution that turns spaces into tabs in the prefix.
https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/stompro/web_client_spine_label_prefix_wrap_fix

(I apologize if adding something like this to a bug report is frowned upon.)