@@ -, +, @@
---
installer/data/mysql/updatedatabase.pl | 8 ++++++++
.../prog/en/modules/admin/preferences/opac.pref | 7 +++++++
koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt | 18 ++++++++++++++++--
opac/opac-detail.pl | 1 +
4 files changed, 32 insertions(+), 2 deletions(-)
--- a/installer/data/mysql/updatedatabase.pl
+++ a/installer/data/mysql/updatedatabase.pl
@@ -6399,6 +6399,14 @@ if ( CheckVersion($DBversion) ) {
SetVersion($DBversion);
}
+$DBversion ="3.11.00.XXX";
+if ( CheckVersion($DBversion) ) {
+ $dbh->do("INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES('OPACPopupAuthorsSearch','0','Display the list of authors when clicking on one author.','','YesNo');");
+ print "Upgrade to $DBversion done (Add IDreamBooks enhanced content)\n";
+ SetVersion($DBversion);
+}
+
+
=head1 FUNCTIONS
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref
@@ -392,6 +392,13 @@ OPAC:
yes: Enable
no: Disable
- Quote of the Day display on OPAC home page
+ -
+ - pref: OPACPopupAuthorsSearch
+ default: 0
+ choices:
+ yes: Display
+ no: Don't display
+ - the list of authors in a pop-up for a search.
Policy:
-
- pref: singleBranchMode
--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt
+++ a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt
@@ -370,9 +370,11 @@ YAHOO.util.Event.onContentReady("furtherm", function () {
//]]>
+[% IF OPACPopupAuthorsSearch %]
+[% END %]