]> git.koha-community.org Git - koha.git/commit
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)
committerKatrin Fischer <katrin.fischer.83@web.de>
Sun, 15 Jan 2017 17:05:24 +0000 (18:05 +0100)
commit7c483bb954c5720e6f81ff3db816b3bdea9da780
tree8bbf7714c83f4a4ac457ff9902c65aea84bddda5
parentcc47262e6d89d161155b27a1be6965e6173b6412
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