Bugzilla – Attachment 70545 Details for
Bug 17682
Change URL for Google Scholar in OPACSearchForTitleIn
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17682:Change URL for Google Scholar in OPACSearchForTitleIn
Bug-17682Change-URL-for-Google-Scholar-in-OPACSear.patch (text/plain), 3.87 KB, created by
Charlotte Cordwell
on 2018-01-16 04:03:12 UTC
(
hide
)
Description:
Bug 17682:Change URL for Google Scholar in OPACSearchForTitleIn
Filename:
MIME Type:
Creator:
Charlotte Cordwell
Created:
2018-01-16 04:03:12 UTC
Size:
3.87 KB
patch
obsolete
>From 61e9f080d9bdd8f53893a1837dae7bf5d35b8ea4 Mon Sep 17 00:00:00 2001 >From: Charlotte Cordwell <charlotte.cordwell123@gmail.com> >Date: Tue, 16 Jan 2018 03:55:49 +0000 >Subject: [PATCH] Bug 17682:Change URL for Google Scholar in > OPACSearchForTitleIn > >1)apply patch >2) go into administration --> search for OPACSearchForTitleIn >3) *click to edit* >4) look at the link and read the google scholar one. >5) check that the start link is https://scholar.google.com. >6) http://www.scholar.google is incorrect >--- > .../data/mysql/atomicupdate/bug17682_urlchangeforgooglescholar.sql | 1 + > installer/data/mysql/sysprefs.sql | 2 +- > 2 files changed, 2 insertions(+), 1 deletion(-) > create mode 100644 installer/data/mysql/atomicupdate/bug17682_urlchangeforgooglescholar.sql > >diff --git a/installer/data/mysql/atomicupdate/bug17682_urlchangeforgooglescholar.sql b/installer/data/mysql/atomicupdate/bug17682_urlchangeforgooglescholar.sql >new file mode 100644 >index 0000000..bf4575f >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug17682_urlchangeforgooglescholar.sql >@@ -0,0 +1 @@ >+UPDATE systempreferences set value = replace(value, "http://www.", "https://") where variable = 'OPACSearchForTitleIn'; >diff --git a/installer/data/mysql/sysprefs.sql b/installer/data/mysql/sysprefs.sql >index 23cefb8..89784bc 100644 >--- a/installer/data/mysql/sysprefs.sql >+++ b/installer/data/mysql/sysprefs.sql >@@ -376,7 +376,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` > ('OpacResetPassword','0','','Shows the ''Forgot your password?'' link in the OPAC','YesNo'), > ('OPACResultsLibrary', 'homebranch', 'homebranch|holdingbranch', 'Defines whether the OPAC displays the holding or home branch in search results when using XSLT', 'Choice'), > ('OPACResultsSidebar','','70|10','Define HTML to be included on the search results page, underneath the facets sidebar','Textarea'), >-('OPACSearchForTitleIn','<li><a href=\"http://worldcat.org/search?q={TITLE}\" target=\"_blank\">Other Libraries (WorldCat)</a></li>\n<li><a href=\"http://www.scholar.google.com/scholar?q={TITLE}\" target=\"_blank\">Other Databases (Google Scholar)</a></li>\n<li><a href=\"http://www.bookfinder.com/search/?author={AUTHOR}&title={TITLE}&st=xl&ac=qr\" target=\"_blank\">Online Stores (Bookfinder.com)</a></li>\n<li><a href=\"https://openlibrary.org/search/?author=({AUTHOR})&title=({TITLE})\" target=\"_blank\">Open Library (openlibrary.org)</a></li>','70|10','Enter the HTML that will appear in the \'Search for this title in\' box on the detail page in the OPAC. Enter {TITLE}, {AUTHOR}, or {ISBN} in place of their respective variables in the URL. Leave blank to disable \'More Searches\' menu.','Textarea'), >+('OPACSearchForTitleIn','<li><a href=\"http://worldcat.org/search?q={TITLE}\" target=\"_blank\">Other Libraries (WorldCat)</a></li>\n<li><a href=\"https://scholar.google.com/scholar?q={TITLE}\" target=\"_blank\">Other Databases (Google Scholar)</a></li>\n<li><a href=\"http://www.bookfinder.com/search/?author={AUTHOR}&title={TITLE}&st=xl&ac=qr\" target=\"_blank\">Online Stores (Bookfinder.com)</a></li>\n<li><a href=\"https://openlibrary.org/search/?author=({AUTHOR})&title=({TITLE})\" target=\"_blank\">Open Library (openlibrary.org)</a></li>','70|10','Enter the HTML that will appear in the \'Search for this title in\' box on the detail page in the OPAC. Enter {TITLE}, {AUTHOR}, or {ISBN} in place of their respective variables in the URL. Leave blank to disable \'More Searches\' menu.','Textarea'), > ('OpacSeparateHoldings','0',NULL,'Separate current branch holdings from other holdings (OPAC)','YesNo'), > ('OpacSeparateHoldingsBranch','homebranch','homebranch|holdingbranch','Branch used to separate holdings (OPAC)','Choice'), > ('opacSerialDefaultTab','subscriptions','holdings|serialcollection|subscriptions','Define the default tab for serials in OPAC.','Choice'), >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 17682
:
70545
|
70546
|
70568
|
70738
|
70739
|
70770