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

(-)a/C4/Biblio.pm (+2 lines)
Lines 3077-3082 Update the total issue count for a particular bib record. Link Here
3077
3077
3078
=item C<$value> is the absolute value that total issues count should be set to. If provided, C<$increase> is ignored.
3078
=item C<$value> is the absolute value that total issues count should be set to. If provided, C<$increase> is ignored.
3079
3079
3080
=item C<$skip_holds_queue> parameter to optionally skip updating the holds queue.
3081
3080
=back
3082
=back
3081
3083
3082
=cut
3084
=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