Bug 19725: OAI-PMH - Use biblio_metadata.timestamp
authorJulian Maurice <julian.maurice@biblibre.com>
Fri, 1 Dec 2017 15:21:56 +0000 (15:21 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Mon, 15 Jan 2018 13:40:31 +0000 (13:40 +0000)
commit4ea54b678256b164fe9a951a44889ab3502c63b5
treec8a730c8883a53da52e02adb35c04803888d8580
parent55824b09d63ee83a8358c6e6f7740f664d3b86e3
Bug 19725: OAI-PMH - Use biblio_metadata.timestamp

Since bug 17196, biblioitems.timestamp is not always updated after a
change in the MARC record.
Filtering should be based on biblio_metadata.timestamp instead.

Test plan:
1. prove t/db_dependent/OAI/Server.t
2. Verify that it SUCCEEDS

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Koha/OAI/Server/ListBase.pm
t/db_dependent/OAI/Server.t