Bug 17778 - Make "Earliest Registered Date" in OAI dynamic
authorMagnus Enger <magnus@libriotech.no>
Fri, 6 Jan 2017 14:27:04 +0000 (15:27 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 13 Jan 2017 11:34:14 +0000 (11:34 +0000)
commitff711c48cfa02c7b6ab09fe22f699a872420db8d
tree77dcebf6d559507ed5dd082c39520d859c2b44c0
parentae8223e333201d264b19bf6ed9e91c10c94349ad
Bug 17778 - Make "Earliest Registered Date" in OAI dynamic

This was hardcoded to 0001-01-01.

To test:
- Make sure you have a couple of records, with different timestamps
- Enable OAI-PMH
- Check http://localhost:2201/cgi-bin/koha/oai.pl?verb=Identify
  and verify that "Earliest Registered Date" is 0001-01-01
- Apply the patch
- Re-check the "Earliest Registered Date" and verify that it is now
  the lowest timestamp in your biblio table
- Manipulate the timestamps and verify that "Earliest Registered Date"
  changes accordingly
- Sign off!

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Koha/OAI/Server/Identify.pm