Bugzilla – Attachment 3747 Details for
Bug 6091
Remove undeclared syspref OPACAdvSearchInputCount
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch
0001-BUG6091-Remove-undeclared-syspref-OPACAdvSearchInput.patch (text/plain), 1.72 KB, created by
Fridolin Somers
on 2011-04-06 14:08:08 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2011-04-06 14:08:08 UTC
Size:
1.72 KB
patch
obsolete
>From 4f26a02458ef44254465f60c2c8ca016f2b994a6 Mon Sep 17 00:00:00 2001 >From: Fridolyn SOMERS <fridolyn.somers@progilone.fr> >Date: Wed, 6 Apr 2011 16:04:55 +0200 >Subject: [PATCH] BUG6091 Remove undeclared syspref OPACAdvSearchInputCount > >--- > catalogue/search.pl | 2 +- > opac/opac-search.pl | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/catalogue/search.pl b/catalogue/search.pl >index 17cbdcc..1f28465 100755 >--- a/catalogue/search.pl >+++ b/catalogue/search.pl >@@ -297,7 +297,7 @@ if ( $template_type eq 'advsearch' ) { > # shouldn't appear on the first one, scan indexes should, adding a new > # box should only appear on the last, etc. > my @search_boxes_array; >- my $search_boxes_count = C4::Context->preference("OPACAdvSearchInputCount") || 3; # FIXME: using OPAC sysprefs? >+ my $search_boxes_count = 3; # begin whith 3 boxes > # FIXME: all this junk can be done in TMPL using __first__ and __last__ > for (my $i=1;$i<=$search_boxes_count;$i++) { > # if it's the first one, don't display boolean option, but show scan indexes >diff --git a/opac/opac-search.pl b/opac/opac-search.pl >index e2725fa..79a4c69 100755 >--- a/opac/opac-search.pl >+++ b/opac/opac-search.pl >@@ -215,7 +215,7 @@ if ( $template_type && $template_type eq 'advsearch' ) { > # shouldn't appear on the first one, scan indexes should, adding a new > # box should only appear on the last, etc. > my @search_boxes_array; >- my $search_boxes_count = C4::Context->preference("OPACAdvSearchInputCount") || 3; >+ my $search_boxes_count = 3; # begin whith 3 boxes > for (my $i=1;$i<=$search_boxes_count;$i++) { > # if it's the first one, don't display boolean option, but show scan indexes > if ($i==1) { >-- >1.7.1 >
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 6091
: 3747