Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #57 from ctfliblime/PT14668229

PTFS PT 11434853 remove paging from Holds Queue Report
  • Loading branch information...
commit 98c86ab22bd536e3fc5823797dc73c98d809b440 2 parents df739ed + 1117501
@ctfliblime ctfliblime authored
Showing with 3 additions and 4 deletions.
  1. +3 −4 catalogue/search.pl
View
7 catalogue/search.pl
@@ -431,10 +431,9 @@ =head3 Additional Notes
# limits are used to limit to results to a pre-defined category such as branch or language
my @limits;
@limits = split("\0",$params->{'limit'}) if $params->{'limit'};
-if($params->{'multibranchlimit'}) {
- push @limits, join(" or ",
- map { "branch: $_ "} @{GetBranchesInCategory($params->{'multibranchlimit'})}
- ) ;
+if($params->{multibranchlimit}) {
+ my $branchlist = GetBranchesInCategory($params->{multibranchlimit});
+ push @limits, sprintf '(%s)', join(' or ', map { "branch: $_"} @{$branchlist});
}
my $available;
foreach my $limit(@limits) {
Please sign in to comment.
Something went wrong with that request. Please try again.