Bug 29811: Add timestamp option on authority record type
authorThibaud Guillot <thibaud.guillot@biblibre.com>
Thu, 6 Jan 2022 13:48:36 +0000 (14:48 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 8 Nov 2023 08:20:45 +0000 (22:20 -1000)
commite5d014de8c25bcf39dad1b0ee7e77f209b6b0996
treebf60f367e532f12a510c46f1cc11396b4702de0b
parentb49fc7ea341f85f04ba478469b4b8df5f38a307f
Bug 29811: Add timestamp option on authority record type

According to the timestamp option for bibs record type I added the
timestamp option for authority records.
Timestamp is already present in database on field "modification_time"

Test Plan :
1 - Be sure to have authority record type for easiest test create one
2 - Execute script export_records.pl in your koha/misc directory and
choose a date (example yesterday if you just created an authority
right now).(see export_records.pl -h for help)
3 - Timestamp option has no effect on authority record type
4 - Execute script again but choose the date of tomorrow for example
5 - Same result
6 - Apply this patch
7 - Play again steps 2 and 4
8 - On step 2 you will see only your authorities created today (because
script show you authority has changes since the date you choose in
option) and for step 4 you must see an empty file.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 24ee60cb62cfbe5dc80bbb698eb6fa1e99d1cd4e)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
misc/export_records.pl