Author: Boro Sitnikovski <buritomath@yahoo.com>
Description: doesn't find search.js when using non default template
Bug-Debian: http://bugs.debian.org/411149

--- a/bins	2010-01-18 09:41:35.000000000 +0100
+++ b/bins_NEW	2012-06-19 00:40:11.384934876 +0200
@@ -3858,6 +3858,7 @@
                          $configHash->{templateStyle}, GLOB_TILDE));
     push(@dirs, bsd_glob($configHash->{globalDataDir}."/templates.".
                          $configHash->{templateStyle}, GLOB_TILDE));
+    push(@dirs, bsd_glob($configHash->{globalDataDir}."/templates.swigs", GLOB_TILDE));
 
     foreach my $dir (@dirs) {
         beVerboseN("  Looking for HTML template $templateName in $dir...", 4);
