View | Details | Raw Unified | Return to bug 36137
Collapse All | Expand All

(-)a/C4/Biblio.pm (+2 lines)
Lines 3038-3043 Update the total issue count for a particular bib record. Link Here
3038
3038
3039
=item C<$value> is the absolute value that total issues count should be set to. If provided, C<$increase> is ignored.
3039
=item C<$value> is the absolute value that total issues count should be set to. If provided, C<$increase> is ignored.
3040
3040
3041
=item C<$skip_holds_queue> parameter to optionally skip updating the holds queue.
3042
3041
=back
3043
=back
3042
3044
3043
=cut
3045
=cut
(-)a/misc/cronjobs/update_totalissues.pl (-8 / +1 lines)
Lines 166-178 sub process_query { Link Here
166
        print "Processing bib $biblionumber ($totalissues issues)\n"
166
        print "Processing bib $biblionumber ($totalissues issues)\n"
167
          if $verbose;
167
          if $verbose;
168
        if ( not $test_only ) {
168
        if ( not $test_only ) {
169
            my $ret;
169
            my $ret = UpdateTotalIssues( $biblionumber, $incremental, $totalissues, 1 );
170
            if ( $incremental && $totalissues > 0 ) {
171
                $ret = UpdateTotalIssues( $biblionumber, $totalissues );
172
            }
173
            else {
174
                $ret = UpdateTotalIssues( $biblionumber, 0, $totalissues );
175
            }
176
            unless ($ret) {
170
            unless ($ret) {
177
                print "Error while processing bib $biblionumber\n" if $verbose;
171
                print "Error while processing bib $biblionumber\n" if $verbose;
178
                $num_bibs_error++;
172
                $num_bibs_error++;
179
- 

Return to bug 36137