From 60347e1c4b571b0fae9828dd4df5a91c8c71fcac Mon Sep 17 00:00:00 2001
From: Charlotte Cordwell <charlotte.cordwell123@gmail.com>
Date: Tue, 16 Jan 2018 20:14:20 +0000
Subject: [PATCH] Bug 17682: Change URL for Google Scholar in
 OPACSearchForTitleIn

Amended the sql statement so it only affects the http://www.scholar.google.com url
---
 .../data/mysql/atomicupdate/bug17682_urlchangeforgooglescholar.sql      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/installer/data/mysql/atomicupdate/bug17682_urlchangeforgooglescholar.sql b/installer/data/mysql/atomicupdate/bug17682_urlchangeforgooglescholar.sql
index bf4575f..2187f2e 100644
--- a/installer/data/mysql/atomicupdate/bug17682_urlchangeforgooglescholar.sql
+++ b/installer/data/mysql/atomicupdate/bug17682_urlchangeforgooglescholar.sql
@@ -1 +1 @@
-UPDATE systempreferences set value =  replace(value, "http://www.", "https://") where variable = 'OPACSearchForTitleIn';
+UPDATE systempreferences set value =  replace(value, "http://www.scholar, "https://scholar") where variable = 'OPACSearchForTitleIn';
-- 
2.1.4