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

(-)a/opac/opac-search.pl (-4 / +4 lines)
Lines 79-90 my $cgi = CGI->new; Link Here
79
my $branch_group_limit = $cgi->param("branch_group_limit");
79
my $branch_group_limit = $cgi->param("branch_group_limit");
80
if ( $branch_group_limit ) {
80
if ( $branch_group_limit ) {
81
    if ( $branch_group_limit =~ /^multibranchlimit-/ ) {
81
    if ( $branch_group_limit =~ /^multibranchlimit-/ ) {
82
        # branch_group_limit is deprecated, it should no longer be used
82
        # For search groups we are going to convert this branch_group_limit CGI
83
        # For search groups we are going to convert this branch_group_limit CGI
83
        # parameter into a multibranchlimit CGI parameter for the purposes of
84
        # parameter into a multibranchlimit limit CGI parameter for the purposes of
84
        # actually performing the query
85
        # actually performing the query
85
        $cgi->param(
86
        $cgi->param(
86
            -name => 'multibranchlimit',
87
            -name => 'limit',
87
            -values => substr($branch_group_limit, 17)
88
            -values => 'multibranchlimit:' . substr($branch_group_limit, 17)
88
        );
89
        );
89
    } else {
90
    } else {
90
        $cgi->append(
91
        $cgi->append(
91
- 

Return to bug 28847