From 58b7c3cd4f81dff9421317652ef50a58e211f720 Mon Sep 17 00:00:00 2001 From: Victor Grousset/tuxayo Date: Wed, 5 Feb 2025 04:41:38 +0100 Subject: [PATCH] Bug 11530: (QA follow-up): fix terminology Even if the script itself has the wrong terminology (issue vs checkout). The POD and help can have the right one. --- misc/cronjobs/update_totalissues.pl | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/misc/cronjobs/update_totalissues.pl b/misc/cronjobs/update_totalissues.pl index c1dd980331..8c161d3f2b 100755 --- a/misc/cronjobs/update_totalissues.pl +++ b/misc/cronjobs/update_totalissues.pl @@ -190,7 +190,7 @@ sub report { my $summary = <<_SUMMARY_; -Update total issues count script report +Update total checkouts count script report ======================================================= Run started at: $starttime Run ended at: $endtime @@ -222,8 +222,8 @@ update_totalissues.pl =head1 DESCRIPTION -This batch job populates bibliographic records' total issues count based -on historical issue statistics. +This batch job populates bibliographic records' total checkouts count +(DB: biblioitems.totalissues) based on historical checkout statistics. =over 8 @@ -237,11 +237,11 @@ Provide verbose log information (list every bib modified). =item B<--use-stats> -Use the data in the statistics table for populating total issues. +Use the data in the statistics table for populating total checkouts. =item B<--use-items> -Use items.issues data for populating total issues. Note that issues +Use items.issues data for populating total checkouts. Note that checkouts data from the items table does not respect the --since or --interval options, by definition. Also note that if both --use-stats and --use-items are specified, the count of biblios processed will be @@ -250,23 +250,23 @@ misleading. =item B<--use-deleted-items> Only applies when using items as above, will include deleted items in the total -count of issues for the bibliographic records. +count of checkouts for the bibliographic records. =item B<-s|--since=DATE> -Only process issues recorded in the statistics table since DATE. +Only process checkouts recorded in the statistics table since DATE. =item B<-i|--interval=S> -Only process issues recorded in the statistics table in the last N +Only process checkouts recorded in the statistics table in the last N units of time. The interval should consist of a number with a one-letter unit suffix. The valid suffixes are h (hours), d (days), w (weeks), m (months), and y (years). The default unit is days. =item B<--incremental> -Add the number of issues found in the statistics table to the existing -total issues count. Intended so that this script can be used as a cron +Add the number of checkouts found in the statistics table to the existing +total checkouts count. Intended so that this script can be used as a cron job to update popularity information during low-usage periods. If neither --since or --interval are specified, incremental mode will default to processing the last twenty-four hours. -- 2.48.1