[Koha-bugs] [Bug 29216] New: Correct --where documentation in update_patrons_category.pl
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Oct 12 23:23:48 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29216
Bug ID: 29216
Summary: Correct --where documentation in
update_patrons_category.pl
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Command-line Utilities
Assignee: koha-bugs at lists.koha-community.org
Reporter: caroline.cyr-la-rose at inlibro.com
QA Contact: testopia at bugs.koha-community.org
CC: robin at catalyst.net.nz
Hi,
This is absolutely very minor, but I was reading the in-code documentation for
update_patrons_category.pl for the --where parameter and I think there is an
error/typo.
133 =item B<--where $conditions>
134
135 Use this option to specify a condition built with columns from the
borrowers table
136
137 e.g.
138 --where 'email IS NULL'
139 will update all patrons with no value for email
140
141 --where 'categorycode LIKE "%CHILD"'
142 will update all patrons with a category ending in CHILD.
143
144 --where 'categorycode LIKE RESIDENT%'
145 will update all patrons whose category does not begin with RESIDENT.
I think this last example should be
144 --where 'categorycode NOT LIKE RESIDENT%'
to match with the explanation below
I may be wrong, though... I will submit a patch correcting this how I think it
should be and I will let the experts verify it to make sure. :)
Caroline
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list