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

(-)a/C4/Search.pm (-1 lines)
Lines 2018-2024 sub searchResults { Link Here
2018
                    fix_amps       => 1,
2018
                    fix_amps       => 1,
2019
                    hidden_items   => \@hiddenitems,
2019
                    hidden_items   => \@hiddenitems,
2020
                    xslt_variables => $xslt_variables,
2020
                    xslt_variables => $xslt_variables,
2021
                    interface => $search_context->{'interface'}
2022
                }
2021
                }
2023
            );
2022
            );
2024
        }
2023
        }
(-)a/C4/XSLT.pm (-1 / +1 lines)
Lines 178-184 sub XSLTParse4Display { Link Here
178
    my $hidden_items = $params->{hidden_items} || [];
178
    my $hidden_items = $params->{hidden_items} || [];
179
    my $variables    = $params->{xslt_variables};
179
    my $variables    = $params->{xslt_variables};
180
    my $items_rs     = $params->{items_rs};
180
    my $items_rs     = $params->{items_rs};
181
    my $interface    = $params->{interface};
181
    my $interface    = C4::Context->interface;
182
182
183
    die "Mandatory \$params->{xsl_syspref} was not provided, called with biblionumber $params->{biblionumber}"
183
    die "Mandatory \$params->{xsl_syspref} was not provided, called with biblionumber $params->{biblionumber}"
184
        if not defined $params->{xsl_syspref};
184
        if not defined $params->{xsl_syspref};
(-)a/catalogue/detail.pl (-1 lines)
Lines 261-267 if ( $showcomp eq 'both' || $showcomp eq 'staff' ) { Link Here
261
                    record       => $part,
261
                    record       => $part,
262
                    xsl_syspref  => "XSLTResultsDisplay",
262
                    xsl_syspref  => "XSLTResultsDisplay",
263
                    fix_amps     => 1,
263
                    fix_amps     => 1,
264
                    interface    => 'intranet'
265
                }
264
                }
266
              );
265
              );
267
        }
266
        }
(-)a/opac/opac-detail.pl (-1 lines)
Lines 612-618 if ( $showcomp eq 'both' || $showcomp eq 'opac' ) { Link Here
612
                    record       => $part,
612
                    record       => $part,
613
                    xsl_syspref  => 'OPACXSLTResultsDisplay',
613
                    xsl_syspref  => 'OPACXSLTResultsDisplay',
614
                    fix_amps     => 1,
614
                    fix_amps     => 1,
615
                    interface    => 'opac'
616
                }
615
                }
617
              );
616
              );
618
        }
617
        }
(-)a/opac/opac-shelves.pl (-1 lines)
Lines 416-422 if ( $op eq 'view' ) { Link Here
416
                        fix_amps       => 1,
416
                        fix_amps       => 1,
417
                        xslt_variables => $variables,
417
                        xslt_variables => $variables,
418
                        items_rs       => $items->reset,
418
                        items_rs       => $items->reset,
419
                        interface      => 'opac'
420
                    }
419
                    }
421
                );
420
                );
422
421
(-)a/opac/opac-tags.pl (-1 lines)
Lines 293-299 if ($loggedinuser) { Link Here
293
                fix_amps       => 1,
293
                fix_amps       => 1,
294
                hidden_items   => \@hidden_items,
294
                hidden_items   => \@hidden_items,
295
                xslt_variables => $variables,
295
                xslt_variables => $variables,
296
                interface      => 'opac'
297
            }
296
            }
298
        );
297
        );
299
298
(-)a/virtualshelves/shelves.pl (-2 lines)
Lines 293-299 if ( $op eq 'view' ) { Link Here
293
                        record       => $record,
293
                        record       => $record,
294
                        xsl_syspref  => 'XSLTListsDisplay',
294
                        xsl_syspref  => 'XSLTListsDisplay',
295
                        fix_amps     => 1,
295
                        fix_amps     => 1,
296
                        interface    => 'intranet'
297
                    }
296
                    }
298
                );
297
                );
299
298
300
- 

Return to bug 28375