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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref (-1 / +1 lines)
Lines 154-160 OPAC: Link Here
154
              class: code
154
              class: code
155
        -
155
        -
156
            - 'Include a "More Searches" box on the detail pages of items on the OPAC, with the following HTML (leave blank to disable):'
156
            - 'Include a "More Searches" box on the detail pages of items on the OPAC, with the following HTML (leave blank to disable):'
157
            - '<br />Note: The placeholders {CONTROLNUMBER}, {TITLE}, {ISBN} and {AUTHOR} will be replaced with information from the displayed record.'
157
            - '<br />Note: The placeholders {BIBLIONUMBER}, {CONTROLNUMBER}, {TITLE}, {ISBN} and {AUTHOR} will be replaced with information from the displayed record.'
158
            - pref: OPACSearchForTitleIn
158
            - pref: OPACSearchForTitleIn
159
              type: textarea
159
              type: textarea
160
              class: code
160
              class: code
(-)a/opac/opac-detail.pl (-1 / +1 lines)
Lines 562-567 if (my $search_for_title = C4::Context->preference('OPACSearchForTitleIn')){ Link Here
562
    $dat->{title} ? $search_for_title =~ s/{TITLE}/$dat->{title}/g : $search_for_title =~ s/{TITLE}//g;
562
    $dat->{title} ? $search_for_title =~ s/{TITLE}/$dat->{title}/g : $search_for_title =~ s/{TITLE}//g;
563
    $isbn ? $search_for_title =~ s/{ISBN}/$isbn/g : $search_for_title =~ s/{ISBN}//g;
563
    $isbn ? $search_for_title =~ s/{ISBN}/$isbn/g : $search_for_title =~ s/{ISBN}//g;
564
    $marccontrolnumber ? $search_for_title =~ s/{CONTROLNUMBER}/$marccontrolnumber/g : $search_for_title =~ s/{CONTROLNUMBER}//g;
564
    $marccontrolnumber ? $search_for_title =~ s/{CONTROLNUMBER}/$marccontrolnumber/g : $search_for_title =~ s/{CONTROLNUMBER}//g;
565
    $search_for_title =~ s/{BIBLIONUMBER}/$biblionumber/g;
565
 $template->param('OPACSearchForTitleIn' => $search_for_title);
566
 $template->param('OPACSearchForTitleIn' => $search_for_title);
566
}
567
}
567
568
568
- 

Return to bug 6294