User manual
Chapter 12
+++ b/opac/opac-search.pl
@@ -581,5 +581,8 @@ if (defined $barshelves)
{
}
my $content_type = ($format eq 'rss' or $format eq 'atom')
? $format :
'html';
+# If GooglelndicTransliteration system preference is On Set paramter to
load Google's JavaScript in OPAC search screens
+if (C4:: Context -> preference ('GooglelndicTransliteration'))
{
+
$ template- >param ('GooglelndicTransliteration' => 1);
+}
output_html_with_http_headers $cgi, $cookie, $template ->output,
$content_type;
1.6.4.2
Sending the patch to Koha's release
manager
To share your code, you can send the patch to the koha -patches list; Koha's release
manager will then take a look at your code, and if it meets quality standards, include
it in the appropriate branches.
To send the patch, first we setup our name and e -mail in Git:
koha@linux:/home/koha/kohaclone # git config --global user.name
"firstname lastname"
koha @linux: /home /koha /kohaclone # git config -- global user.email
"myemail@mydomain.com"
To e -mail the patch, use the git send -email command:
koha @linux: /home /koha /kohaclone # git send -email 0001- This- adds -the-
Google - Indic -Transliterater -to- the- OPA.patch
The command will prompt for input; to the question Who should the emails be
sent to, enter the e -mail address koha- patches@lists .koha-community.org:
Who should the emails be sent to? koha -patches @lists.koha- community.org
[ 243 ]