@@ -, +, @@ overdues report - The list of overdues should look correct, with no new columns shown. - Test the column visibility button, showing the columns which are hidden by default. Confirm that the data in these columns displays correctly. - Show or hide columns in such a way that it doesn't match the default configuration. - Navigate away from this page. - Return to the page. The same set of columns should be visible. --- admin/columns_settings.yml | 53 ++++++++++++++++++++++ circ/overdue.pl | 8 ++-- .../intranet-tmpl/prog/en/modules/circ/overdue.tt | 37 +++++++++++---- koha-tmpl/intranet-tmpl/prog/js/datatables.js | 28 ++++++++++++ 4 files changed, 115 insertions(+), 11 deletions(-) --- a/admin/columns_settings.yml +++ a/admin/columns_settings.yml @@ -644,6 +644,59 @@ modules: - columnname: action + holdsratios: + holds-ratios: + - + columnname: holds + - + columnname: items + - + columnname: holds_ratio + - + columnname: title + - + columnname: home_libraries + - + columnname: holding_libraries + - + columnname: location + - + columnname: itemtype + - + columnname: call_numbers + - + columnname: items_needed + + overdues: + circ-overdues: + - + columname: due_date + - + columname: patron + - + columname: patron_category + is_hidden: 1 + - + columname: patron_library + - + columname: title + - + columname: home_library + is_hidden: 1 + - + columname: holding_library + is_hidden: 1 + - + columname: barcode + - + columname: call_number + - + columname: item_type + is_hidden: 1 + - + columname: price + - + columname: non-public_note opac: biblio-detail: holdingst: --- a/circ/overdue.pl +++ a/circ/overdue.pl @@ -239,7 +239,8 @@ if ($noreport) { items.itemcallnumber, items.replacementprice, items.enumchron, - items.itemnotes_nonpublic + items.itemnotes_nonpublic, + items.itype FROM issues LEFT JOIN borrowers ON (issues.borrowernumber=borrowers.borrowernumber ) LEFT JOIN items ON (issues.itemnumber=items.itemnumber) @@ -322,12 +323,13 @@ if ($noreport) { biblionumber => $data->{biblionumber}, title => $data->{title}, author => $data->{author}, - homebranchcode => $data->{homebranchcode}, - holdingbranchcode => $data->{holdingbranchcode}, + homebranchcode => $data->{homebranch}, + holdingbranchcode => $data->{holdingbranch}, itemcallnumber => $data->{itemcallnumber}, replacementprice => $data->{replacementprice}, itemnotes_nonpublic => $data->{itemnotes_nonpublic}, enumchron => $data->{enumchron}, + itemtype => $data->{itype}, patron_attr_value_loop => \@patron_attr_value_loop, }; } --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt @@ -3,6 +3,9 @@ [% USE KohaDates %] [%- USE Branches -%] [%- USE Price -%] +[%- USE ItemTypes -%] +[%- USE Categories -%] +[%- USE ColumnsSettings -%] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %]