Bug 41801: (QA follow-up) Remove dead ignoreSetLowestRank param and update POD
The recursive self-call loop that ignoreSetLowestRank guarded against was
removed by the main patch. Remove the now-unused parameter from both the
function body and the POD documentation, and fix a double-word typo in the
POD while here.
(cherry picked from commit 8e8a5f914e)
Signed-off-by: Jacob O'Mara <Jacob.omara@openfifth.co.uk>
This commit is contained in:
parent
d31798b8aa
commit
590f1360eb
|
|
@ -1720,7 +1720,6 @@ sub SuspendAll {
|
|||
FixPriority({
|
||||
reserve_id => $reserve_id,
|
||||
[rank => $rank,]
|
||||
[ignoreSetLowestRank => $ignoreSetLowestRank]
|
||||
});
|
||||
|
||||
or
|
||||
|
|
@ -1742,20 +1741,16 @@ then have reserves.priority set so that the first non-captured hold
|
|||
has its priority set to 1, the second non-captured hold has its priority
|
||||
set to 2, and so forth.
|
||||
|
||||
In both cases, holds that have the lowestPriority flag on are have their
|
||||
In both cases, holds that have the lowestPriority flag on have their
|
||||
priority adjusted to ensure that they remain at the end of the line.
|
||||
|
||||
Note that the ignoreSetLowestRank parameter is meant to be used only
|
||||
when FixPriority calls itself.
|
||||
|
||||
=cut
|
||||
|
||||
sub FixPriority {
|
||||
my ($params) = @_;
|
||||
my $reserve_id = $params->{reserve_id};
|
||||
my $rank = $params->{rank} // '';
|
||||
my $ignoreSetLowestRank = $params->{ignoreSetLowestRank};
|
||||
my $biblionumber = $params->{biblionumber};
|
||||
my ($params) = @_;
|
||||
my $reserve_id = $params->{reserve_id};
|
||||
my $rank = $params->{rank} // '';
|
||||
my $biblionumber = $params->{biblionumber};
|
||||
|
||||
my $dbh = C4::Context->dbh;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue