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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]

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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to