From b8a2dde209effe413057e05cb4c616dacb78bd74 Mon Sep 17 00:00:00 2001 From: Lebbeous Fogle-Weekley Date: Fri, 29 Jul 2011 12:33:52 -0400 Subject: [PATCH] Fix incorrect search advice on the no-results page. Signed-off-by: Lebbeous Fogle-Weekley --- .../web/templates/default/opac/parts/result/lowhits.tt2 | 14 +++++++++----- .../default/opac/parts/result/lowhits_purchase.tt2 | 4 ++-- .../default/opac/parts/result/lowhits_purchase.tt2 | 2 +- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/Open-ILS/web/templates/default/opac/parts/result/lowhits.tt2 b/Open-ILS/web/templates/default/opac/parts/result/lowhits.tt2 index 7526f1df27..78679fc7e1 100644 --- a/Open-ILS/web/templates/default/opac/parts/result/lowhits.tt2 +++ b/Open-ILS/web/templates/default/opac/parts/result/lowhits.tt2 @@ -22,7 +22,7 @@ [% INCLUDE "default/opac/parts/result/lowhits_purchase.tt2" %]

Keyword Search Tips
- Change to Advanced Keyword Search. + Try changing to Advanced Search.

Adjacency
@@ -34,13 +34,17 @@

Truncation
Words may be right-hand truncated using an asterisk. Use a single asterisk * - to truncate from 1-5 characters. Use a double asterisk ** for open-ended truncation.
+ to truncate any number of characters.
(example: environment* agency)

- Wildcards
- You may use a question mark to replace a single character anywhere within a word.
- example: wom?) + Anchored Searching
+ You may use ^ and $ to indicate "phrase begins with" and + "phrase ends with," respectively, within a search phrase + enclosed in quotation marks.
+ (examples: "^harry" for phrases that begin with + the term harry. + "stone$" for phrases that end in stone.)

diff --git a/Open-ILS/web/templates/default/opac/parts/result/lowhits_purchase.tt2 b/Open-ILS/web/templates/default/opac/parts/result/lowhits_purchase.tt2 index 263269abe6..ff34338282 100644 --- a/Open-ILS/web/templates/default/opac/parts/result/lowhits_purchase.tt2 +++ b/Open-ILS/web/templates/default/opac/parts/result/lowhits_purchase.tt2 @@ -1,6 +1,6 @@ -

+[%# XXX Is this block generally desired?

Still not finding what you are looking for?
Request that your library purchase the material you are looking for by making a Purchase Request
Note: You must be logged in to make a Purchase Request
-

+

%] diff --git a/Open-ILS/web/templates_kcls/default/opac/parts/result/lowhits_purchase.tt2 b/Open-ILS/web/templates_kcls/default/opac/parts/result/lowhits_purchase.tt2 index a41f6588a6..cdfde4641c 100644 --- a/Open-ILS/web/templates_kcls/default/opac/parts/result/lowhits_purchase.tt2 +++ b/Open-ILS/web/templates_kcls/default/opac/parts/result/lowhits_purchase.tt2 @@ -1,6 +1,6 @@

Still not finding what you are looking for?
Request that KCLS purchase the material you are looking for by making a - Purchase Request
+ Purchase Request
Note: You must be logged in to make a Purchase Request

-- 2.11.0