Bugzilla – Attachment 96768 Details for
Bug 24206
Change URLs for default options in OPACSearchForTitleIn
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24206: Update URLs for default options in OPACSearchForTitleIn
Bug-24206-Update-URLs-for-default-options-in-OPACS.patch (text/plain), 6.70 KB, created by
David Nind
on 2020-01-02 20:31:25 UTC
(
hide
)
Description:
Bug 24206: Update URLs for default options in OPACSearchForTitleIn
Filename:
MIME Type:
Creator:
David Nind
Created:
2020-01-02 20:31:25 UTC
Size:
6.70 KB
patch
obsolete
>From c422be0be460b3ffe1ec1e69c7e1f16517d43cec Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Sun, 22 Dec 2019 13:05:34 +0000 >Subject: [PATCH] Bug 24206: Update URLs for default options in > OPACSearchForTitleIn > >- Worldcat: now https >- BookFinder: now https >- OpenLibrary: remove / before search parameters > >To test: >- Verify changes to the installer files are correct >- Bonus: run the web installer for en, de-DE and nb-NO and > verfiy the content of OPACSearchForTitleIn is correct > >Signed-off-by: David Nind <david@davidnind.com> >--- > installer/data/mysql/de-DE/mandatory/system_preferences.sql | 4 ++-- > installer/data/mysql/nb-NO/1-Obligatorisk/system_preferences.sql | 2 +- > installer/data/mysql/sysprefs.sql | 2 +- > 3 files changed, 4 insertions(+), 4 deletions(-) > >diff --git a/installer/data/mysql/de-DE/mandatory/system_preferences.sql b/installer/data/mysql/de-DE/mandatory/system_preferences.sql >index fce4047a98..8692c95a7e 100644 >--- a/installer/data/mysql/de-DE/mandatory/system_preferences.sql >+++ b/installer/data/mysql/de-DE/mandatory/system_preferences.sql >@@ -27,9 +27,9 @@ UPDATE systempreferences SET value = 'Willkommen im Koha-Katalog!' WHERE variabl > UPDATE systempreferences SET value = '' WHERE variable = 'OpacNav'; > UPDATE systempreferences SET value = '' WHERE variable = 'OpacNavBottom'; > UPDATE systempreferences SET value = >- '<li><a href="http://worldcat.org/search?q={TITLE}" target="_blank">Andere Bibliotheken (WorldCat)</a></li> >+ '<li><a href="https://worldcat.org/search?q={TITLE}" target="_blank">Andere Bibliotheken (WorldCat)</a></li> > <li><a href="https://scholar.google.com/scholar?q={TITLE}" target="_blank">Google Scholar</a></li> >- <li><a href="http://www.bookfinder.com/search/?author={AUTHOR}&title={TITLE}&st=xl&ac=qr" target="_blank">Online-Buchhandel (Bookfinder.com)</a></li>' >+ <li><a href="https://www.bookfinder.com/search/?author={AUTHOR}&title={TITLE}&st=xl&ac=qr" target="_blank">Online-Buchhandel (Bookfinder.com)</a></li>' > WHERE variable = 'OPACSearchForTitleIn'; > -- Sunday = 0, Monday = 1, etc. > UPDATE systempreferences SET value = '1' WHERE variable = 'CalendarFirstDayOfWeek'; >diff --git a/installer/data/mysql/nb-NO/1-Obligatorisk/system_preferences.sql b/installer/data/mysql/nb-NO/1-Obligatorisk/system_preferences.sql >index 7ccdd7e12b..9fc9143a99 100644 >--- a/installer/data/mysql/nb-NO/1-Obligatorisk/system_preferences.sql >+++ b/installer/data/mysql/nb-NO/1-Obligatorisk/system_preferences.sql >@@ -25,7 +25,7 @@ UPDATE systempreferences SET value = 'nb-NO' WHERE variable = 'language'; > UPDATE systempreferences SET value = 'nb-NO' WHERE variable = 'opaclanguages'; > UPDATE systempreferences SET value = '<p>Velkommen til Koha...</p><hr />' WHERE variable = 'OpacMainUserBlock'; > UPDATE systempreferences SET value = '<p>Viktige lenker kan plasseres her</p>' WHERE variable = 'OpacNav'; >-UPDATE systempreferences SET value = '<li><a href="http://worldcat.org/search?q={TITLE}" target="_blank">Andre bibliotek (WorldCat)</a></li><li><a href="https://scholar.google.com/scholar?q={TITLE}" target="_blank">Andre databaser (Google Scholar)</a></li><li><a href="http://www.bookfinder.com/search/?author={AUTHOR}&title={TITLE}&st=xl&ac=qr" target="_blank">Nettbutikker (Bookfinder.com)</a></li>' WHERE variable = 'OPACSearchForTitleIn'; >+UPDATE systempreferences SET value = '<li><a href="https://worldcat.org/search?q={TITLE}" target="_blank">Andre bibliotek (WorldCat)</a></li><li><a href="https://scholar.google.com/scholar?q={TITLE}" target="_blank">Andre databaser (Google Scholar)</a></li><li><a href="https://www.bookfinder.com/search/?author={AUTHOR}&title={TITLE}&st=xl&ac=qr" target="_blank">Nettbutikker (Bookfinder.com)</a></li>' WHERE variable = 'OPACSearchForTitleIn'; > -- Sunday = 0, Monday = 1, etc. > UPDATE systempreferences SET value = '1' WHERE variable = 'CalendarFirstDayOfWeek'; > UPDATE systempreferences SET value = 'A B C D E F G H I J K L M N O P Q R S T U V W X Y Z Ã Ã Ã' WHERE variable = 'alphabet'; >diff --git a/installer/data/mysql/sysprefs.sql b/installer/data/mysql/sysprefs.sql >index 6a68769eda..10cafa3b3b 100644 >--- a/installer/data/mysql/sysprefs.sql >+++ b/installer/data/mysql/sysprefs.sql >@@ -423,7 +423,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=\"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'), >+('OPACSearchForTitleIn','<li><a href=\"https://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=\"https://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.11.0
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 24206
:
96569
|
96570
|
96673
|
96674
|
96675
|
96768
|
96769
|
97186
|
97187
|
97264
|
97265