[Koha-bugs] [Bug 35908] There is no length limit for what's presented in datatables

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jan 25 17:19:55 CET 2024


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35908

--- Comment #1 from Pedro Amorim <pedro.amorim at ptfs-europe.com> ---
Created attachment 161446
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=161446&action=edit
Bug 35908: Add truncateStringForDisplay

Test plan:
1) Create a new patron category, visit:
/cgi-bin/koha/admin/categories.pl?op=add_form
2) Add a category code, en enrollment period, a category type and a really long
description like:
"This is a real long description of the patron category code for demo purposes
This is a real long description of the patron category code for demo purposes""
3) Now do the same but for a library, visit:
/cgi-bin/koha/admin/branches.pl?op=add_form
4) Add a library code and a really long name like:
"This is a real long library name for demo purposes This is a real long library
name for demo purposes"
5) Visit patrons home:
/cgi-bin/koha/members/members-home.pl
6) Hit "Search". Notice the "library" and "category" columns grow in width to
match the largest option (added in previous steps)
7) Edit a patron, assign that patron the library and category above, go back to
the table.
8) Repeat 5) and 6). Notice how the table looks
9) Apply patch. Refresh the patron table and notice how it looks.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list