Created attachment 61811 [details] Patron category list When a patron category with no upper age limit/age required is created the table of categories just reads 'years'. It should probably read something like 'unspecified' or '0 years'. To recreate 1) Create any patron category with either/both upper age or minumum age blank 2) The /cgi-bin/koha/admin/categories.pl table show the field as 'years' (see attachment)
Created attachment 61813 [details] [review] Bug 18375: Better readability of patron category table for zero ages and fees In patron category table, this patch displays zero / empty values for ages and fees with '-' for better readability To test: - Go to Home > Administration > Patron categories - Verify that you have 0 years and/or only years in Age required and Uper age limit colums - Verify that you have Enrollment and Hold fees of 0.00 - Apply patch - Verify that such values are replaced by - to enhance table readability
Created attachment 61867 [details] [review] Bug 18375: Better readability of patron category table for zero ages and fees In patron category table, this patch displays zero / empty values for ages and fees with '-' for better readability To test: - Go to Home > Administration > Patron categories - Verify that you have 0 years and/or only years in Age required and Uper age limit colums - Verify that you have Enrollment and Hold fees of 0.00 - Apply patch - Verify that such values are replaced by - to enhance table readability Signed-off-by: Luke Honiss <luke.honiss@gmail.com>
Created attachment 62067 [details] [review] Bug 18375: Better readability of patron category table for zero ages and fees In patron category table, this patch displays zero / empty values for ages and fees with '-' for better readability To test: - Go to Home > Administration > Patron categories - Verify that you have 0 years and/or only years in Age required and Uper age limit colums - Verify that you have Enrollment and Hold fees of 0.00 - Apply patch - Verify that such values are replaced by - to enhance table readability Signed-off-by: Luke Honiss <luke.honiss@gmail.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Pushed to master for 17.05, thanks Marc!
This won't get ported back to 16.11.x as it is an enhancement. +1 :)