[Koha-bugs] [Bug 18169] New: Date like 2999 should not be used arbitrarily
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Feb 24 13:25:11 CET 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18169
Bug ID: 18169
Summary: Date like 2999 should not be used arbitrarily
Change sponsored?: ---
Product: Koha
Version: unspecified
Hardware: All
OS: All
Status: ASSIGNED
Severity: enhancement
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: jonathan.druart at bugs.koha-community.org
Reporter: jonathan.druart at bugs.koha-community.org
QA Contact: testopia at bugs.koha-community.org
>From opac-privacy.pl:
# delete all reading records for items returned
# uses a hardcoded date ridiculously far in the future
my $rows = eval {
Koha::Patrons->search({ 'me.borrowernumber' => $borrowernumber
})->anonymise_issue_history( { before => '2999-12-12' } );
};
It sounds better to make this before parameter not mandatory, and remove the
condition from the sql query if it is not passed.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list