@@ -, +, @@ changes --- installer/data/mysql/atomicupdate/bug_14242-autofill_syspref.sql | 2 +- installer/data/mysql/sysprefs.sql | 2 +- .../intranet-tmpl/prog/en/modules/admin/preferences/opac.pref | 2 +- koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc | 2 +- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt | 8 ++++---- 5 files changed, 8 insertions(+), 8 deletions(-) --- a/installer/data/mysql/atomicupdate/bug_14242-autofill_syspref.sql +++ a/installer/data/mysql/atomicupdate/bug_14242-autofill_syspref.sql @@ -1, +1, @@ -INSERT IGNORE INTO systempreferences (`variable`, `value`, `options`, `explanation`,`type`) VALUES ('OPACAutoFill', '0', NULL, 'Automaticly fill forms with data from Google Books API','YesNo'); +INSERT IGNORE INTO systempreferences (`variable`, `value`, `options`, `explanation`,`type`) VALUES ('OPACSuggestionAutoFill', '0', NULL, 'Automaticly fill forms with data from Google Books API','YesNo'); --- a/installer/data/mysql/sysprefs.sql +++ a/installer/data/mysql/sysprefs.sql @@ -329,7 +329,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` ('OAI-PMH:DeletedRecord','persistent','Koha\'s deletedbiblio table will never be deleted (persistent), might be deleted (transient), or will never have any data in it (no)','transient|persistent|no','Choice'), ('OAI-PMH:MaxCount','50',NULL,'OAI-PMH maximum number of records by answer to ListRecords and ListIdentifiers queries','Integer'), ('OPACAcquisitionDetails','0','','Show the acquisition details at the OPAC','YesNo'), -('OPACAutoFill','0',NULL,'Automaticly fill forms with data from Google Books API','YesNo'), +('OPACSuggestionAutoFill','0',NULL,'Automaticly fill forms with data from Google Books API','YesNo'), ('OpacAddMastheadLibraryPulldown','0','','Adds a pulldown menu to select the library to search on the opac masthead.','YesNo'), ('OpacAdvSearchMoreOptions','pubdate,itemtype,language,subtype,sorting,location','Show search options for the expanded view (More options)','pubdate|itemtype|language|subtype|sorting|location','multiple'), ('OpacAdvSearchOptions','pubdate,itemtype,language,sorting,location','Show search options','pubdate|itemtype|language|subtype|sorting|location','multiple'), --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref @@ -513,7 +513,7 @@ OPAC: no: Don't display - a branch selection list for news items in the OPAC. - - - pref: OPACAutoFill + - pref: OPACSuggestionAutoFill default: 0 choices: yes: Enable --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc +++ a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc @@ -250,7 +250,7 @@ $.widget.bridge('uitooltip', $.ui.tooltip); [% END %] -[% IF ( Koha.Preference('OPACAutoFill') ) %] +[% IF ( Koha.Preference('OPACSuggestionAutoFill') ) %] [% END %] --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt +++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt @@ -41,12 +41,12 @@

Only certain fields (marked in red) are required, but the more information you enter the easier it will be for the librarians to find the title you're requesting. The "Notes" field can be used to provide any additional information.

- [% IF Koha.Preference( 'OPACAutoFill' ) %] + [% IF Koha.Preference( 'OPACSuggestionAutoFill' ) %]
[% END %] -
+
  1. @@ -55,7 +55,7 @@ - [% IF NOT Koha.Preference( 'OPACAutoFill' ) %] + [% IF NOT Koha.Preference( 'OPACSuggestionAutoFill' ) %]
  2. [% END %]
  3. @@ -300,7 +300,7 @@ } [% END %] - [% IF Koha.Preference( 'OPACAutoFill' ) %] + [% IF Koha.Preference( 'OPACSuggestionAutoFill' ) %] $(function() { $('#isbn').autofill({ 'volumeInfo.title': {target: 'title', effect: 'flash'}, --