From ded8e3f568f0f2da09a60625c4e9621a0d697def Mon Sep 17 00:00:00 2001 From: Caroline Cyr La Rose Date: Tue, 12 Oct 2021 17:32:14 -0400 Subject: [PATCH] Bug 29216: Correct --where documentation in update_patrons_category.pl This patch corrects one of the examples for the --where parameter in the update_patrons_category.pl script. To test: 1. Apply patch 2. In your favourite text editor, open misc/cronjobs/update_patrons_category.pl 3. Look for the documentation for the --where parameter (around line 133 or so) 4. Make sure the examples and their explanations make sense 5. Sign off :) Signed-off-by: David Nind --- misc/cronjobs/update_patrons_category.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/cronjobs/update_patrons_category.pl b/misc/cronjobs/update_patrons_category.pl index 542cc307c4..6a1f69158f 100755 --- a/misc/cronjobs/update_patrons_category.pl +++ b/misc/cronjobs/update_patrons_category.pl @@ -141,7 +141,7 @@ will update all patrons with no value for email --where 'categorycode LIKE "%CHILD"' will update all patrons with a category ending in CHILD. ---where 'categorycode LIKE RESIDENT%' +--where 'categorycode NOT LIKE RESIDENT%' will update all patrons whose category does not begin with RESIDENT. =back -- 2.20.1