Bug 20485: Don't account for items timestamps when items not included
authorDavid Gustafsson <david.gustafsson@ub.gu.se>
Fri, 23 Mar 2018 16:32:30 +0000 (17:32 +0100)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 10 May 2019 17:22:27 +0000 (17:22 +0000)
commit88eb0c5904462bb6cd1b38932b93470f7032f27d
treefebf20dea1f725ac1926ba95b89592d5ed9e9f9b
parent0d0d19ea7ed9c8d158b5b49a39891682c676c50c
Bug 20485: Don't account for items timestamps when items not included

If combining "--dont_export_items" and "--date" options
in export_records.pl, don't include items modification/deletion
timestamp in biblio query conditions.

How to test:
1) Delete or modify a biblio item.
2) Run export_records.pl with "--dont_export_items" and "--date"
   options with a date value before item was deleted or modified,
   but after the biblio was modified.
3) The biblio for which an item was changed should not be included in
   the export.

Sponsored-by: Gothenburg University Library
Signed-off-by: Maryse Simard <maryse.simard@inlibro.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
misc/export_records.pl