[Koha-patches] SIGNED-OFF-Bug-8211-Add-exploded-search-options.patch

matted-34813 at mypacks.net matted-34813 at mypacks.net
Mon Sep 10 02:20:22 CEST 2012


After pulling master i applied these:
0001-Bug-8744-Thesaurus-in-authorities-should-not-lock-fi.patch
0002-Bug-8649-Add-unit-test-for-C4-Search.patch
0003-bug-8649-make-sure-C4-Context-is-fully-mocked-up-bef.patch
0004-bug-8649-make-sure-we-can-exit-if-a-test-fails.patch
0005-bug-8649-create-a-temp-directory-for-Zebra-for-C4-Se.patch
0006-bug-8649-quiet-a-variable-use-warning.patch
0007-Bug-8211-Add-exploded-search-options.patch

You need 8744 to be able to edit Geographical names in 551 (unlock them)
8649 has Search.t tests

1) I had created the authority heirarchy as comment#2 described.
2) I used z3950 to search LOC specifiying "United States" in subject heading, and chose "1000 things to love about America" and added an item.  I navigated to its 651 Geographic name heading and clicked the editor icon for the 'a' subtag, and used the authority search plugin ( $a = United States ) and found the record that was created in step #1).  choose it.  I finished out the biblio and added an item.
3) I did the same thing as step 2) but for "Arizona" and "Phoenix" subject headingg, linking with the authority plugin as well.  Pick a book for Arizona accordingly.
4) I ran rebuild-zebra and did my searches as described in comment #3) in the OPAC search.   su-br:Arizona  su-na:Arizona  and su-rl:Arizona
Each returned results.
For me: I also had Phoenix in the su-br-Arizona search, and jcamins said there must be a subject heading in my chosen biblio for Phoenix.  There was, so I edited my biblio, to remove the Restaurant -- Arizona  TOPICAL TERM SUBJECT HEADING.  After that I requeried su-br: Arizona, and the Phoenix item did not show up as we wanted.  So there is an added restriction to be sure other subject heading don't interfere with results.


wajasu


More information about the Koha-patches mailing list