From d02d53e85a116805e5f24086671f8758515933c1 Mon Sep 17 00:00:00 2001 From: Paul POULAIN Date: Mon, 21 Jan 2008 03:16:02 -0600 Subject: [PATCH] adding dateexpiry to borrowers search result list Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tmpl | 2 ++ members/member.pl | 1 + 2 files changed, 3 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tmpl index 6c5f07d590..77bb861698 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tmpl @@ -58,6 +58,7 @@ &orderby=surname">Name &orderby=borrowers.categorycode">Cat &orderby=branchcode">Branch + Expires on OD/Issues Fines Notes @@ -77,6 +78,7 @@ ">,


() + diff --git a/members/member.pl b/members/member.pl index 349c0d744d..dc3da69092 100755 --- a/members/member.pl +++ b/members/member.pl @@ -110,6 +110,7 @@ for (my $i=($startfrom-1)*$resultsperpage; $i < $to; $i++){ borrowernotes => $results->[$i]{'borrowernotes'}, sort1 => $results->[$i]{'sort1'}, sort2 => $results->[$i]{'sort2'}, + dateexpiry => C4::Dates->new($results->[$i]{'dateexpiry'},'iso')->output('syspref'), ); if ( $toggle ) { $toggle = 0; } else {$toggle = 1; } push(@resultsdata, \%row); -- 2.39.5