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