Lines 1994-2000
sub RevertWaitingStatus {
Link Here
|
1994 |
## Increment the priority of all other non-waiting |
1994 |
## Increment the priority of all other non-waiting |
1995 |
## reserves for this bib record |
1995 |
## reserves for this bib record |
1996 |
my $holds = Koha::Holds->search({ biblionumber => $hold->biblionumber, priority => { '>' => 0 } }) |
1996 |
my $holds = Koha::Holds->search({ biblionumber => $hold->biblionumber, priority => { '>' => 0 } }) |
1997 |
->update({ priority => \'priority + 1' }); |
1997 |
->update({ priority => \'priority + 1' }, { no_triggers => 1 }); |
1998 |
|
1998 |
|
1999 |
## Fix up the currently waiting reserve |
1999 |
## Fix up the currently waiting reserve |
2000 |
$hold->set( |
2000 |
$hold->set( |
2001 |
- |
|
|