http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6092
Paul Poulain <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Patch Status|Signed Off |Does not apply --- Comment #4 from Paul Poulain <[email protected]> 2011-08-10 09:39:29 UTC --- QA comment This patch does not apply anymore. I think it must be completly rewritten. The conflict says : <<<<<<< HEAD if ( C4::Context->preference('OPACdefaultSortField') && C4::Context->preference('OPACdefaultSortOrder') ) { my $default_sort_by = C4::Context->preference('defaultSortField') . '_' . C4::Context->preference('defaultSortOrder'); $template->param( $default_sort_by => 1 ); } ======= $template->param($default_sort_by => 1); >>>>>>> BUG6092 default sort field and order when syspref are NULL => the default sort order is set only if the syspref have been set, so the my $default_sort_field = C4::Context->preference('defaultSortField') || 'relevance'; # relevance field by default my $default_sort_order = C4::Context->preference('defaultSortOrder') || 'dsc'; # decreasing order by default my $default_sort_by = $default_sort_field.'_'.$default_sort_order; will do nothing. -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
