@@ -, +, @@
and checkouts when patrons have overdues
checkout setting options and then specify a due date a month
ago).
items to are listed in the results.
4.1 For patrons without any checkouts: 0 / 0
4.2 For the patron from step 2 with one checkout: 0 / 1
4.3 For the patron from step 1 with one overdue and one
checkout: 1 (in bold and red)
1 / 2 (with the 1 in bold and red).
---
koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc
+++ a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc
@@ -582,7 +582,7 @@
"orderable": false,
"render": function( data, type, row, meta ) {
if ( row.overdues_count ) {
- return ""+row.overdues_count + "";
+ return ""+row.overdues_count + "" + " / " + row.checkouts_count;
} else {
return "0 / " + row.checkouts_count;
}
--