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

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

Return to bug 36137