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)
committerMason James <mtj@kohaaloha.com>
Wed, 25 Jan 2017 01:17:44 +0000 (14:17 +1300)
commit6290c58a588192cade869e3a972a3dd3ff2dfb62
tree7511bd113e79db43cb2679cbac8d5b3f9ddb4d64
parentfee86bed56493ad8b55e139c28a0e95f26f4573e
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>
(cherry picked from commit ff711c48cfa02c7b6ab09fe22f699a872420db8d)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Koha/OAI/Server/Identify.pm