]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP#1650409: improve authority_control_fields.pl's --all and --days_back processing
authorRogan Hamby <rogan.hamby@gmail.com>
Fri, 9 Mar 2018 13:38:06 +0000 (08:38 -0500)
committerGalen Charlton <gmc@equinoxinitiative.org>
Fri, 2 Aug 2019 16:04:29 +0000 (12:04 -0400)
commit69046659b9224038fc4a4f085a6a4294588e98d1
treee2dee472825fad8bb9c042e8076ce5b58572548b
parenta1a019521bb6e78e18a310ab214122bf1d20188c
LP#1650409: improve authority_control_fields.pl's --all and --days_back processing

When --all is used, the list of bibliographic records to process is now
retrieved via a direct database query instead of using open-ils.storage,
avoiding a potential timeout.

The query used to fetch records when --days_back is used now fetches
all records that were edited up to the specified number of days
ago. Prior to this patch, --days_back ended up fetching records
created on the current day and records edited on the --days_back
day, skipping any that were updated in between.

Signed-off-by: Rogan Hamby <rogan.hamby@gmail.com>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/support-scripts/authority_control_fields.pl.in