Bugzilla – Attachment 177523 Details for
Bug 11530
Recalculating an item's total issue count with update_totalissues.pl ignores deleted items
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11530: (QA follow-up): fix terminology
Bug-11530-QA-follow-up-fix-terminology.patch (text/plain), 3.13 KB, created by
Victor Grousset/tuxayo
on 2025-02-05 04:54:07 UTC
(
hide
)
Description:
Bug 11530: (QA follow-up): fix terminology
Filename:
MIME Type:
Creator:
Victor Grousset/tuxayo
Created:
2025-02-05 04:54:07 UTC
Size:
3.13 KB
patch
obsolete
>From 58b7c3cd4f81dff9421317652ef50a58e211f720 Mon Sep 17 00:00:00 2001 >From: Victor Grousset/tuxayo <victor@tuxayo.net> >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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 11530
:
175880
|
175881
|
176300
|
176301
| 177523