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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 21 Dec 2017 16:21:11 +0000 (13:21 -0300)
commit136c49a940a632e9bcfb50694871b1a9ba2480c1
treea538f73c9aa4e89ae13c28912da4308d3b8f814f
parentc867cadeef6a324d1861514f3f21979881d04e18
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>
Koha/OAI/Server/ListBase.pm
t/db_dependent/OAI/Server.t