|
Lines 78-91
WHERE 1|;
Link Here
|
| 78 |
|
78 |
|
| 79 |
my ( $doit, $since, $help, $not_expired, $no_overwrite, $category, $branchcode, $message_name ); |
79 |
my ( $doit, $since, $help, $not_expired, $no_overwrite, $category, $branchcode, $message_name ); |
| 80 |
my $result = GetOptions( |
80 |
my $result = GetOptions( |
| 81 |
'doit' => \$doit, |
81 |
'doit' => \$doit, |
| 82 |
'since:s' => \$since, |
82 |
'since:s' => \$since, |
| 83 |
'not-expired' => \$not_expired, |
83 |
'not-expired' => \$not_expired, |
| 84 |
'no-overwrite' => \$no_overwrite, |
84 |
'no-overwrite' => \$no_overwrite, |
| 85 |
'category:s' => \$category, |
85 |
'category:s' => \$category, |
| 86 |
'library:s' => \$branchcode, |
86 |
'library:s' => \$branchcode, |
| 87 |
'message-name:s' => \$message_name, |
87 |
'message-name:s' => \$message_name, |
| 88 |
'help|h' => \$help, |
88 |
'help|h' => \$help, |
| 89 |
); |
89 |
); |
| 90 |
|
90 |
|
| 91 |
usage() if $help; |
91 |
usage() if $help; |
|
Lines 143-154
Will only update patrons in the category specified.
Link Here
|
| 143 |
|
143 |
|
| 144 |
=item B<--library> |
144 |
=item B<--library> |
| 145 |
|
145 |
|
| 146 |
Will only update patrons whose home library matches the given library id |
146 |
Will only update patrons whose home library matches the given library id. |
| 147 |
|
147 |
|
| 148 |
=item B<--message-name> |
148 |
=item B<--message-name> |
| 149 |
|
149 |
|
| 150 |
Will only update the specified message name. |
150 |
Will only update the specified message name. |
| 151 |
List of values can be found in installer/data/mysql/mandatory/sample_notices_message_attributes.sql |
151 |
List of values can be found in installer/data/mysql/mandatory/sample_notices_message_attributes.sql |
|
|
152 |
or in message_attributes.message_name in the database. |
| 152 |
|
153 |
|
| 153 |
=item B<--since> |
154 |
=item B<--since> |
| 154 |
|
155 |
|
| 155 |
- |
|
|