Bugzilla – Attachment 2632 Details for
Bug 4268
Incorrect check of OPACItemsResultsDisplay preference
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed fix
0001-Fix-for-Bug-4268-Definition-of-OPACItemsResultsDispl.patch (text/plain), 1.26 KB, created by
Owen Leonard
on 2010-09-16 14:40:21 UTC
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2010-09-16 14:40:21 UTC
Size:
1.26 KB
patch
obsolete
>From 593a1457e533c6918ccc05844a02b222ccdb4726 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Thu, 16 Sep 2010 10:35:28 -0400 >Subject: [PATCH] Fix for Bug 4268, Definition of OPACItemsResultsDisplay is wrong in searching.pref > >This patch changes how the preference is checked by opac-search.pl >rather than changing the way the data is saved in the systempreferences >table. >--- > opac/opac-search.pl | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/opac/opac-search.pl b/opac/opac-search.pl >index 30bc34a..786f846 100755 >--- a/opac/opac-search.pl >+++ b/opac/opac-search.pl >@@ -542,7 +542,7 @@ for (my $i=0;$i<=@servers;$i++) { > $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"), > ); > ## Build the page numbers on the bottom of the page > my @page_numbers; >-- >1.7.0.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 4268
: 2632 |
2657