From 6984d77f18d051d17627fbb837a704d216307bf8 Mon Sep 17 00:00:00 2001 From: Joshua Ferraro Date: Wed, 24 Oct 2007 20:41:01 -0500 Subject: [PATCH] Revert "reverting defaut-search-on-kw-wrdl and doing it elsewhere" This reverts commit 38884abf65f4da5da03fbe73824a29b5bfc5fb32. This commit results in failed searches all over the place, I'm reverting the revert :-) Conflicts: koha-tmpl/intranet-tmpl/prog/fr/includes/circ-search-autocompl.inc Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- catalogue/search.pl | 2 + koha-tmpl/intranet-tmpl/prog/en/css/blue.css | 4 -- .../prog/en/includes/cat-search.inc | 5 +-- .../prog/en/includes/circ-search.inc | 40 ++++++++++++------- .../prog/en/includes/cities-admin-search.inc | 1 - .../en/includes/currencies-admin-search.inc | 5 +-- .../prog/en/includes/letters-search.inc | 5 +-- .../prog/en/includes/members-search.inc | 5 +-- .../prog/en/includes/patrons-admin-search.inc | 5 +-- .../en/includes/printers-admin-search.inc | 5 +-- .../en/includes/roadtype-admin-search.inc | 5 +-- .../prog/en/includes/serials-search.inc | 5 +-- .../en/includes/stopwords-admin-search.inc | 5 +-- .../en/includes/suggestions-add-search.inc | 5 +-- .../prog/en/includes/z3950-admin-search.inc | 5 +-- .../fr/includes/circ-search-autocompl.inc | 3 +- .../opac-tmpl/prog/en/includes/masthead.inc | 1 - opac/opac-search.pl | 2 + 18 files changed, 52 insertions(+), 56 deletions(-) diff --git a/catalogue/search.pl b/catalogue/search.pl index 80b4cdcd48..2f05649709 100755 --- a/catalogue/search.pl +++ b/catalogue/search.pl @@ -339,6 +339,8 @@ my @operators; my @indexes; if ($params->{'idx'}) { @indexes = split("\0",$params->{'idx'}); +} else { + $indexes[0] = 'kw,wrdl'; } # an operand can be a single term, a phrase, or a complete ccl query diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/blue.css b/koha-tmpl/intranet-tmpl/prog/en/css/blue.css index 7b2e030580..b9c90830ba 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/css/blue.css +++ b/koha-tmpl/intranet-tmpl/prog/en/css/blue.css @@ -74,7 +74,3 @@ input[type=submit], input[type=button], input[type=reset] { input[type=submit]:hover, input[type=button]:hover, input[type=reset]:hover { border:1px outset; } - -#bd { -background-color:white; -} \ No newline at end of file diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/cat-search.inc index 153e390252..bf83038dce 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cat-search.inc @@ -13,9 +13,8 @@
    diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-search.inc index 0c45b5c12a..9a56b64758 100755 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-search.inc @@ -147,20 +147,30 @@ YAHOO.util.Event.onContentReady("header_search", function() { - - - + + + + + + + + - + \ No newline at end of file diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/cities-admin-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/cities-admin-search.inc index 74136b7aa4..dc544a3632 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/cities-admin-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cities-admin-search.inc @@ -22,7 +22,6 @@
    -
      diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/currencies-admin-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/currencies-admin-search.inc index d207e79a31..d27032eb8c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/currencies-admin-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/currencies-admin-search.inc @@ -20,9 +20,8 @@
        diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/letters-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/letters-search.inc index 13e0a5f0d5..6dd994c9b4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/letters-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/letters-search.inc @@ -20,9 +20,8 @@
          diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/members-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/members-search.inc index 5d86facb40..6ae46e5d13 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/members-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/members-search.inc @@ -25,9 +25,8 @@
            diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patrons-admin-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patrons-admin-search.inc index a574eef961..190c885f87 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/patrons-admin-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patrons-admin-search.inc @@ -20,9 +20,8 @@
              diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/printers-admin-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/printers-admin-search.inc index 7a7673f6a7..f18955551b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/printers-admin-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/printers-admin-search.inc @@ -20,9 +20,8 @@
                diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/roadtype-admin-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/roadtype-admin-search.inc index 990be0bd88..128fd00532 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/roadtype-admin-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/roadtype-admin-search.inc @@ -20,9 +20,8 @@
                  diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/serials-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/serials-search.inc index d99248b856..eeb8362fcb 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/serials-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/serials-search.inc @@ -17,9 +17,8 @@
                    diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/stopwords-admin-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/stopwords-admin-search.inc index 0f6d6bacda..9a0a8a0fac 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/stopwords-admin-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/stopwords-admin-search.inc @@ -21,9 +21,8 @@
                      diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/suggestions-add-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/suggestions-add-search.inc index 5b00a23161..a1c3f4b9ef 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/suggestions-add-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/suggestions-add-search.inc @@ -22,9 +22,8 @@
                        diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/z3950-admin-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/z3950-admin-search.inc index 62886f7d9f..dfaf653c3d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/z3950-admin-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/z3950-admin-search.inc @@ -20,9 +20,8 @@
                          diff --git a/koha-tmpl/intranet-tmpl/prog/fr/includes/circ-search-autocompl.inc b/koha-tmpl/intranet-tmpl/prog/fr/includes/circ-search-autocompl.inc index 4850efe13c..ad37643d48 100644 --- a/koha-tmpl/intranet-tmpl/prog/fr/includes/circ-search-autocompl.inc +++ b/koha-tmpl/intranet-tmpl/prog/fr/includes/circ-search-autocompl.inc @@ -102,8 +102,7 @@

                          Entrer les termes de recherche :

                          -======= ->>>>>>> french translation updated (again...):koha-tmpl/intranet-tmpl/prog/fr/includes/circ-search-autocompl.inc +
                          diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc b/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc index cfb1bf3b9e..1d4408b2f5 100644 --- a/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc +++ b/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc @@ -17,7 +17,6 @@ " type="hidden" /> - more search options diff --git a/opac/opac-search.pl b/opac/opac-search.pl index a40702499b..8c56245a9d 100755 --- a/opac/opac-search.pl +++ b/opac/opac-search.pl @@ -372,6 +372,8 @@ my @operators; my @indexes; if ($params->{'idx'}) { @indexes = split("\0",$params->{'idx'}); +} else { + $indexes[0] = 'kw,wrdl'; } # an operand can be a single term, a phrase, or a complete ccl query -- 2.39.5