From e81a006e5d453fdf7ca8f6c98ac91c01fc3e0d9e Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Mon, 21 May 2012 14:02:11 -0400 Subject: [PATCH] Fix typo in TEST_SETUP for QueryParser.pm "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 Signed-off-by: Lebbeous Fogle-Weekley --- .../lib/OpenILS/Application/Storage/Driver/Pg/QueryParser.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/QueryParser.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/QueryParser.pm index 144ee5595c..793a38d85d 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/QueryParser.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/QueryParser.pm @@ -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 ); -- 2.11.0