View | Details | Raw Unified | Return to bug 14457
Collapse All | Expand All

(-)a/Koha/SuggestionEngine/Plugin/LibrisSpellcheck.pm (+8 lines)
Lines 71-80 This module provides facilities for using the LIBRIS spell checker API Link Here
71
71
72
=over
72
=over
73
73
74
=item NAME
75
76
my $name = $plugin->NAME;
77
78
=back
79
74
=item get_suggestions(query)
80
=item get_suggestions(query)
75
81
76
Sends in the search query and gets an XML with a suggestion
82
Sends in the search query and gets an XML with a suggestion
77
83
84
my $suggestions = $plugin->get_suggestions(\%query);
85
78
=back
86
=back
79
87
80
=cut
88
=cut
(-)a/installer/data/mysql/sysprefs.sql (-3 / +4 lines)
Lines 267-272 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
267
('LibraryThingForLibrariesEnabled','0','','Enable or Disable Library Thing for Libraries Features','YesNo'),
267
('LibraryThingForLibrariesEnabled','0','','Enable or Disable Library Thing for Libraries Features','YesNo'),
268
('LibraryThingForLibrariesID','','','See:http://librarything.com/forlibraries/','free'),
268
('LibraryThingForLibrariesID','','','See:http://librarything.com/forlibraries/','free'),
269
('LibraryThingForLibrariesTabbedView','0','','Put LibraryThingForLibraries Content in Tabs.','YesNo'),
269
('LibraryThingForLibrariesTabbedView','0','','Put LibraryThingForLibraries Content in Tabs.','YesNo'),
270
('LibrisKey', '', 'This key must be obtained at http://api.libris.kb.se/. It is unique for the IP of the server.', NULL, 'Free'),
271
('LibrisURL', 'http://api.libris.kb.se/bibspell/', 'This it the base URL for the Libris spellchecking API.',NULL,'Free'),
270
('LinkerKeepStale','0',NULL,'If ON the authority linker will keep existing authority links for headings where it is unable to find a match.','YesNo'),
272
('LinkerKeepStale','0',NULL,'If ON the authority linker will keep existing authority links for headings where it is unable to find a match.','YesNo'),
271
('LinkerModule','Default','Default|FirstMatch|LastMatch','Chooses which linker module to use (see documentation).','Choice'),
273
('LinkerModule','Default','Default|FirstMatch|LastMatch','Chooses which linker module to use (see documentation).','Choice'),
272
('LinkerOptions','','','A pipe-separated list of options for the linker.','free'),
274
('LinkerOptions','','','A pipe-separated list of options for the linker.','free'),
Lines 643-648 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
643
('XSLTListsDisplay','default','','Enable XSLT stylesheet control over lists pages display on intranet','Free'),
645
('XSLTListsDisplay','default','','Enable XSLT stylesheet control over lists pages display on intranet','Free'),
644
('XSLTResultsDisplay','default','','Enable XSL stylesheet control over results page display on intranet','Free'),
646
('XSLTResultsDisplay','default','','Enable XSL stylesheet control over results page display on intranet','Free'),
645
('z3950AuthorAuthFields','701,702,700',NULL,'Define the MARC biblio fields for Personal Name Authorities to fill biblio.author','free'),
647
('z3950AuthorAuthFields','701,702,700',NULL,'Define the MARC biblio fields for Personal Name Authorities to fill biblio.author','free'),
646
('z3950NormalizeAuthor','0','','If ON, Personal Name Authorities will replace authors in biblio.author','YesNo'),
648
('z3950NormalizeAuthor','0','','If ON, Personal Name Authorities will replace authors in biblio.author','YesNo')
647
('LibrisKey', '', 'This key must be obtained at http://api.libris.kb.se/. It is unique for the IP of the server.', NULL, 'Free'),
649
;
648
('LibrisURL', 'http://api.libris.kb.se/bibspell/', 'This it the base URL for the Libris spellchecking API.',NULL,'Free');
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/didyoumean.tt (-2 / +2 lines)
Lines 16-23 Link Here
16
            Suggest that patrons expand their searches to include
16
            Suggest that patrons expand their searches to include
17
            broader/narrower/related terms.
17
            broader/narrower/related terms.
18
        [% CASE 'LibrisSpellcheck' %]
18
        [% CASE 'LibrisSpellcheck' %]
19
	    Use the LIBRIS spellcheck API.
19
            Use the LIBRIS spellcheck API.
20
	[% END %]
20
        [% END %]
21
        </div>
21
        </div>
22
    </div>
22
    </div>
23
[% END %]
23
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/searching.pref (-1 / +1 lines)
Lines 245-250 Searching: Link Here
245
            - on all variations of the ISBN. Note that this preference has no effect if UseQueryParser is on.
245
            - on all variations of the ISBN. Note that this preference has no effect if UseQueryParser is on.
246
    Did you Mean/Spell checking:
246
    Did you Mean/Spell checking:
247
        -
247
        -
248
            - "Swedish service for spellchecking.<br/>"
248
            - LIBRIS Spellchecking API key
249
            - LIBRIS Spellchecking API key
249
            - pref: LibrisKey
250
            - pref: LibrisKey
250
            - "Can be obtained at http://api.libris.kb.se/bibspell."
251
            - "Can be obtained at http://api.libris.kb.se/bibspell."
251
- 

Return to bug 14457