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

(-)a/catalogue/search.pl (-3 / +2 lines)
Lines 282-289 if ( $template_type eq 'advsearch' ) { Link Here
282
    $template->param(outer_sup_servers_loop => $secondary_servers_loop,);
282
    $template->param(outer_sup_servers_loop => $secondary_servers_loop,);
283
283
284
    # set the default sorting
284
    # set the default sorting
285
    if (   C4::Context->preference('OPACdefaultSortField')
285
    if (   C4::Context->preference('defaultSortField')
286
        && C4::Context->preference('OPACdefaultSortOrder') ) {
286
        && C4::Context->preference('defaultSortOrder') ) {
287
        my $default_sort_by =
287
        my $default_sort_by =
288
            C4::Context->preference('defaultSortField') . '_'
288
            C4::Context->preference('defaultSortField') . '_'
289
          . C4::Context->preference('defaultSortOrder');
289
          . C4::Context->preference('defaultSortOrder');
290
- 

Return to bug 12441