[Bug 5558] New: Changes to OPACItemsResultsDisplay are not reflected in search results display
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5558 Summary: Changes to OPACItemsResultsDisplay are not reflected in search results display Change sponsored?: --- Product: Koha Version: rel_3_2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: OPAC AssignedTo: oleonard@myacpl.org ReportedBy: januszop@gmail.com QAContact: koha-bugs@lists.koha-community.org Estimated Hours: 0.0 In Koha 3.2 there has been change made in syspref OPACItemsResultsDisplay: now in is boolean (cf. searching.pref), before it was statuses|itemdetails. But this change has not been reflected in scripts that use this syspref, in particular opac-search.pl (also probably updatedatabase.pl, sysprefs.sql et al.). As a result changing this syspref does not makes callnumbers to appear in search result list. My workaround follows. Regards, Janusz --- ../koha-3.2.2/opac/opac-search.pl 2010-12-22 01:58:29.000000000 +0200 +++ opac-search.pl 2010-12-30 11:08:54.000000000 +0200 @@ -543,7 +543,7 @@ $template->param(stopwords_removed => "@$stopwords_removed") if $stopwords_removed; $template->param(results_per_page => $results_per_page); $template->param(SEARCH_RESULTS => \@newresults, - OPACItemsResultsDisplay => (C4::Context->preference("OPACItemsResultsDisplay") eq "itemdetails"?1:0), + OPACItemsResultsDisplay => (C4::Context->preference("OPACItemsResultsDisplay") ?1:0), ); ## Build the page numbers on the bottom of the page my @page_numbers; Or one could, in contrary, change the appropriate fragment of searching.pref to preserve the old way. -- 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.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5558 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #1 from Owen Leonard <oleonard@myacpl.org> 2010-12-30 13:24:47 UTC --- *** This bug has been marked as a duplicate of bug 4268 *** -- 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.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org