Fix typo in TEST_SETUP for QueryParser.pm
authorDan Scott <dscott@laurentian.ca>
Mon, 21 May 2012 18:02:11 +0000 (14:02 -0400)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Mon, 21 May 2012 19:22:49 +0000 (15:22 -0400)
"author|coporate" doesn't exist, probably doesn't matter much in
principle but is worthwhile getting rid of the distraction.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>

Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/QueryParser.pm

index 144ee55..793a38d 100644 (file)
@@ -364,9 +364,9 @@ sub TEST_SETUP {
     __PACKAGE__->add_relevance_bump( title => proper => full_match => 20 );
     __PACKAGE__->add_relevance_bump( title => proper => word_order => 10 );
     
-    __PACKAGE__->add_search_field_id_map( author => coporate => 7 => 1 );
-    __PACKAGE__->add_relevance_bump( author => coporate => first_word => 1.5 );
-    __PACKAGE__->add_relevance_bump( author => coporate => full_match => 20 );
+    __PACKAGE__->add_search_field_id_map( author => corporate => 7 => 1 );
+    __PACKAGE__->add_relevance_bump( author => corporate => first_word => 1.5 );
+    __PACKAGE__->add_relevance_bump( author => corporate => full_match => 20 );
     
     __PACKAGE__->add_facet_field_id_map( author => personal => 8 => 1 );