]> git.evergreen-ils.org Git - 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:10:21 +0000 (12:10 -0400)
commit62fff9f6313d9252d208a10e32d991079e091596
tree2999f6c0fd9db8e27ce56fa327cd6f1e41cfa41f
parentc55f64728607f29bcd84544ebc112dd6e997c314
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