From 976eef338ea2eba04369397da9fbd2dd5c6e34fb Mon Sep 17 00:00:00 2001
From: Demian Katz <demian.katz@villanova.edu>
Date: Tue, 20 Jan 2015 15:20:06 -0500
Subject: [PATCH] Simplified author search to exclude redundant fields.

---
 config/vufind/WorldCat.ini                                    | 4 ++--
 .../templates/RecordDriver/WorldCat/link-author.phtml         | 2 +-
 .../templates/RecordDriver/WorldCat/link-author.phtml         | 2 +-
 .../templates/RecordDriver/WorldCat/link-author.phtml         | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/config/vufind/WorldCat.ini b/config/vufind/WorldCat.ini
index f223bc6a8f2..5736b5782a0 100644
--- a/config/vufind/WorldCat.ini
+++ b/config/vufind/WorldCat.ini
@@ -17,7 +17,7 @@ default_sort         = relevance
 [Basic_Searches]
 srw.kw                  = "All Fields"
 srw.ti:srw.se           = Title
-srw.au:srw.pn:srw.cn    = Author
+srw.au                  = Author
 srw.su                  = Subject
 srw.dd:srw.lc           = "Call Number"
 srw.bn:srw.in           = "ISBN/ISSN"
@@ -27,7 +27,7 @@ srw.bn:srw.in           = "ISBN/ISSN"
 [Advanced_Searches]
 srw.kw                  = adv_search_all
 srw.ti:srw.se           = adv_search_title
-srw.au:srw.pn:srw.cn    = adv_search_author
+srw.au                  = adv_search_author
 srw.su                  = adv_search_subject
 srw.dd:srw.lc           = adv_search_callnumber
 srw.bn:srw.in           = adv_search_isn
diff --git a/themes/blueprint/templates/RecordDriver/WorldCat/link-author.phtml b/themes/blueprint/templates/RecordDriver/WorldCat/link-author.phtml
index b4790f29557..c64269d9bd5 100644
--- a/themes/blueprint/templates/RecordDriver/WorldCat/link-author.phtml
+++ b/themes/blueprint/templates/RecordDriver/WorldCat/link-author.phtml
@@ -1 +1 @@
-<?=$this->url('worldcat-search')?>?lookfor=<?=urlencode($this->lookfor)?>&amp;type=srw.au%3Asrw.pn%3Asrw.cn
\ No newline at end of file
+<?=$this->url('worldcat-search')?>?lookfor=<?=urlencode($this->lookfor)?>&amp;type=srw.au
diff --git a/themes/bootstrap3/templates/RecordDriver/WorldCat/link-author.phtml b/themes/bootstrap3/templates/RecordDriver/WorldCat/link-author.phtml
index b4790f29557..c64269d9bd5 100644
--- a/themes/bootstrap3/templates/RecordDriver/WorldCat/link-author.phtml
+++ b/themes/bootstrap3/templates/RecordDriver/WorldCat/link-author.phtml
@@ -1 +1 @@
-<?=$this->url('worldcat-search')?>?lookfor=<?=urlencode($this->lookfor)?>&amp;type=srw.au%3Asrw.pn%3Asrw.cn
\ No newline at end of file
+<?=$this->url('worldcat-search')?>?lookfor=<?=urlencode($this->lookfor)?>&amp;type=srw.au
diff --git a/themes/jquerymobile/templates/RecordDriver/WorldCat/link-author.phtml b/themes/jquerymobile/templates/RecordDriver/WorldCat/link-author.phtml
index b4790f29557..c64269d9bd5 100644
--- a/themes/jquerymobile/templates/RecordDriver/WorldCat/link-author.phtml
+++ b/themes/jquerymobile/templates/RecordDriver/WorldCat/link-author.phtml
@@ -1 +1 @@
-<?=$this->url('worldcat-search')?>?lookfor=<?=urlencode($this->lookfor)?>&amp;type=srw.au%3Asrw.pn%3Asrw.cn
\ No newline at end of file
+<?=$this->url('worldcat-search')?>?lookfor=<?=urlencode($this->lookfor)?>&amp;type=srw.au
-- 
GitLab