]> git.koha-community.org Git - koha.git/commit
bug 2582 [2/2]: fix NULL issues.issuedate
authorGalen Charlton <galen.charlton@liblime.com>
Thu, 4 Sep 2008 17:23:47 +0000 (12:23 -0500)
committerChris Cormack <chris@bigballofwax.co.nz>
Thu, 3 Sep 2009 23:45:46 +0000 (11:45 +1200)
commit4af1d9ac0cd385bd0ff9742b4e0fbe85379e61bc
treeb8cbe2ce879282c3ee2550e57477f1627e1faaf1
parent7c335eb6218c00ee92a721914c63499411a19ee3
bug 2582 [2/2]: fix NULL issues.issuedate

Corrects loans whose issuedate was set to NULL
during a renewal as follows:

* First, tries to extract the loan date from
  the statistics table.
* For any remaining rows,  sets the issue date
  to the date of the last renewal.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
installer/data/mysql/updatedatabase.pl
kohaversion.pl