Koha/koha-tmpl/opac-tmpl/prog/en/modules
Jared Camins-Esakov 4feb6a4736 Bug 8211: Add exploded search options
When working with hierarchical subject headings, it is sometimes helpful
to do a search for all records with a specific subject, plus
broader/narrower/related subjects. This patch adds support for these
"exploded" subject searches to Koha.

To test:
1) Make sure you have a bunch of hierarchical subjects. I created
   geographical subjects for "Arizona," "United States," and "Phoenix,"
   and linked them together using 551s, and made sure I had a half
   dozen records linking to each (but not all to all three).
2) Do a search for su-br:Arizona (or choose "Subject and broader terms"
   on the advanced search screen with "more options" displayed), and
   check that you get the records with the subject "Arizona" and the
   records with the subject "United States"
3) Do a search for su-na:Arizona (or choose "Subject and narrower terms"
   on the advanced search screen with "more options" displayed), and
   check that you get the records with the subject "Arizona" and the
   records with the subject "Phoenix"
4) Do a search for su-rl:Arizona (or choose "Subject and related terms"
   on the advanced search screen with "more options" displayed), and
   check that you get the records with the subject "Arizona," the
   records with the subject "United States," and the records with the
   subject "Phoenix"
5) Ensure that other searches still work (keyword, subject, ccl,
   whatever)
6) Sign off

Technical details:
This patch adds a shim in front of C4::Search::buildQuery in order to
preprocess the query and call the _handle_exploding_search callback.
This shim will allow us to gradually offload query parsing to a new
query parser module.

Signed-off-by: wajasu <matted-34813@mypacks.net>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
2012-09-18 15:20:48 +02:00
..
errors Bug 2780 - Capitalize strings consistently (OPAC pages) 2012-04-06 18:27:55 +02:00
sco Bug 8623: Move YUI out of prog 2012-09-05 12:04:13 +02:00
search Bug 8233 : SearchEngine: Add a Koha::SearchEngine module 2012-07-06 16:51:58 +02:00
svc Bug 8209: "Did you mean?" from authorities 2012-09-13 11:34:28 +02:00
ilsdi.tt Bug 2780 - Capitalize strings consistently (OPAC pages) 2012-04-06 18:27:55 +02:00
kohaerror.tt Bug 2780 - Capitalize strings consistently (OPAC pages) 2012-04-06 18:27:55 +02:00
maintenance.tt Bug 2780 - Capitalize strings consistently (OPAC pages) 2012-04-06 18:27:55 +02:00
opac-account.tt Bug 7500 [FOLLOW-UP][Missing images] Use CSS Sprites for faster page loading 2012-09-13 17:52:06 +02:00
opac-addbybiblionumber.tt Bug 2780 - Capitalize strings consistently (OPAC pages) 2012-04-06 18:27:55 +02:00
opac-advsearch.tt Bug 8211: Add exploded search options 2012-09-18 15:20:48 +02:00
opac-alert-subscribe.tt Bug 2780 - Capitalize strings consistently (OPAC pages) 2012-04-06 18:27:55 +02:00
opac-auth-detail.tt Bug 8204 follow-up: don't display OpacNav on auth details 2012-09-07 18:33:10 +02:00
opac-auth-MARCdetail.tt Bug 8204 follow-up: don't display OpacNav on auth details 2012-09-07 18:33:10 +02:00
opac-auth.tt Bug 2780 - Capitalize strings consistently (OPAC pages) 2012-04-06 18:27:55 +02:00
opac-authorities-home.tt Bug 8206: make authority search indexes consistent 2012-09-07 15:26:56 +02:00
opac-authoritiessearchresultlist.tt Bug 3462: Links in authorities should be hyperlinks 2012-09-13 16:53:50 +02:00
opac-basket.tt [PATCH] [SIGNED-OFF] bug 7570: add a space to the table header 2012-06-11 17:54:21 +02:00
opac-browser.tt Bug 2780 - Capitalize strings consistently (OPAC pages) 2012-04-06 18:27:55 +02:00
opac-detail.tt Bug 8597: Improve template markup to prepare for mobile 2012-09-18 13:36:48 +02:00
opac-downloadcart.tt Bug 2780 - Capitalize strings consistently (OPAC pages) 2012-04-06 18:27:55 +02:00
opac-downloadshelf.tt Bug 2780 - Capitalize strings consistently (OPAC pages) 2012-04-06 18:27:55 +02:00
opac-full-serial-issues.tt Bug 7927 - library not showing on subscription full history anymore 2012-04-18 17:27:26 +02:00
opac-imageviewer.tt Bug 2780 - Capitalize strings consistently (OPAC pages) 2012-04-06 18:27:55 +02:00
opac-ISBDdetail.tt Bug 8143 [REVISED] Upgrade jQuery tabs to current jQueryUI version 2012-06-10 15:22:58 +02:00
opac-main.tt Bug 8597: Add system preferences to configure the mobile view. 2012-09-18 13:42:18 +02:00
opac-MARCdetail.tt Bug 2780 - Capitalize strings consistently (OPAC pages) 2012-04-06 18:27:55 +02:00
opac-messaging.tt Bug 7500 [FOLLOW-UP][Missing images] Use CSS Sprites for faster page loading 2012-09-13 17:52:06 +02:00
opac-mymessages.tt
opac-opensearch.tt Bug 8679 [REVISED] Remove usage of Amazon API 2012-08-29 16:05:29 +02:00
opac-passwd.tt Bug 7500 [FOLLOW-UP][Missing images] Use CSS Sprites for faster page loading 2012-09-13 17:52:06 +02:00
opac-privacy.tt Bug 7500 [FOLLOW-UP][Missing images] Use CSS Sprites for faster page loading 2012-09-13 17:52:06 +02:00
opac-readingrecord.tt Bug 8017 reduce manipulation of GetAllIssues return 2012-09-13 18:51:45 +02:00
opac-reserve.tt Bug 8597: Improve template markup to prepare for mobile 2012-09-18 13:36:48 +02:00
opac-results-grouped.tt Bug 8525: highlight matches on OPAC detail page 2012-09-03 09:58:28 +02:00
opac-results.tt Bug 8597: Improve template markup to prepare for mobile 2012-09-18 13:36:48 +02:00
opac-review.tt Bug 8617 - Problem with display of comments waiting for moderation in OPAC 2012-09-15 07:38:18 +02:00
opac-search-history.tt Bug 2780 - Capitalize strings consistently (OPAC pages) 2012-04-06 18:27:55 +02:00
opac-sendbasket.tt Bug 8621: Alternative template for cart email 2012-08-29 18:18:16 +02:00
opac-sendbasketform.tt Bug 2780 - Capitalize strings consistently (OPAC pages) 2012-04-06 18:27:55 +02:00
opac-sendshelf.tt Bug 2780 - Capitalize strings consistently (OPAC pages) 2012-04-06 18:27:55 +02:00
opac-sendshelfform.tt Bug 2780 - Capitalize strings consistently (OPAC pages) 2012-04-06 18:27:55 +02:00
opac-serial-issues.tt Bug 7905: Follow up - Multi-line subscription notes 2012-06-27 15:29:56 +02:00
opac-shelves.tt Bug 7500 [FOLLOW-UP][Missing images] Use CSS Sprites for faster page loading 2012-09-13 17:52:06 +02:00
opac-showmarc.tt Bug 8288 - showmarc.tt should not include full doc-head-close.inc 2012-06-27 18:03:42 +02:00
opac-showreviews-rss.tt Bug 8708 [Revised] RSS feed for new comments is broken 2012-09-12 15:31:58 +02:00
opac-showreviews.tt Bug 8679 [REVISED] Remove usage of Amazon API 2012-08-29 16:05:29 +02:00
opac-suggestions.tt Bug 7367 Followup for opac-suggestions template 2012-06-20 11:06:34 +02:00
opac-tags.tt Bug 7642 - remove the cloud weight from the tags 2012-06-20 21:43:07 +02:00
opac-tags_subject.tt Bug 2780 - Capitalize strings consistently (OPAC pages) 2012-04-06 18:27:55 +02:00
opac-topissues.tt Bug 7367 - One "the" too many 2012-07-24 17:33:03 +02:00
opac-user.tt Bug 8597: Improve template markup to prepare for mobile 2012-09-18 13:36:48 +02:00
opac-userdetails.tt Bug 7500 [FOLLOW-UP][Missing images] Use CSS Sprites for faster page loading 2012-09-13 17:52:06 +02:00
opac-userupdate.tt Bug 7500 [FOLLOW-UP][Missing images] Use CSS Sprites for faster page loading 2012-09-13 17:52:06 +02:00